[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] UnicodeUtils 0.1.0 - more Unicode for Ruby 1.9

Stefan Lang

10/27/2008 11:06:00 PM

UnicodeUtils is a new, pure Ruby library that provides additional
Unicode string manipulation functions for Ruby 1.9.

Install with RubyGems:

$ gem install unicode_utils

Online documentation: http://unicode-utils.ruby...
RubyForge project: http://rubyforge.org/projects/unic...
Source: http://github.com/lang/uni...

Example code:

require "unicode_utils"

UnicodeUtils.name "=E6" =3D> "LATIN SMALL LETTER AE"

# Ruby 1.9 currently doesn't provide Unicode-aware case conversion

UnicodeUtils.upcase "Stra=DFe" =3D> "STRASSE"

UnicodeUtils.downcase "=DCmit" =3D> "=FCmit"

Plans for future releases:

* implement language-specifc rules for upcase/downcase
* normalization
* sorting, ...

--=20
Stefan Lang

1 Answer

Yossef Mendelssohn

10/28/2008 7:58:00 PM

0

On Oct 27, 6:06=A0pm, "Stefan Lang" <perfectly.normal.hac...@gmail.com>
wrote:
> =A0 =A0 UnicodeUtils.name "=E6" =3D> "LATIN SMALL LETTER AE"

TENGWAR LONG SECTION MARK

--
-yossef