Forum: Ruby UnicodeUtils 0.2.0 - more Unicode for Ruby 1.9

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Stefan L. (Guest)
on 2008-11-03 00:43
(Received via mailing list)
UnicodeUtils is a pure Ruby library that provides additional
Unicode string manipulation functions for Ruby 1.9.

Install with RubyGems:

   $ gem install unicode_utils

Online documentation:
RubyForge project:

Example code:

    require "unicode_utils""æ") => "LATIN SMALL LETTER AE"

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

    UnicodeUtils.upcase("weiß") => "WEISS"
    UnicodeUtils.upcase("i", :tr) => "Ý"

    UnicodeUtils.downcase("Ümit") =>
New since the 0.1.0 release:

    * upcase/downcase handles language and context specific
      rules now and is a full implementation of Unicode case

    * A couple of predicate functions like lowercase_char?,
      uppercase_char?, ...
This topic is locked and can not be replied to.