[ANN] UnicodeUtils 0.1.0 - more Unicode for Ruby 1.9

S

Stefan Lang

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.rubyforge.org/
RubyForge project: http://rubyforge.org/projects/unicode-utils/
Source: http://github.com/lang/unicode_utils

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top