Forum: Ruby UnicodeUtils 0.3.0 - case conversion, normalization and more

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Stefan L. (Guest)
on 2008-11-17 00:50
(Received via mailing list)
UnicodeUtils is a pure Ruby library that implements
Unicode algorithms for Ruby 1.9.

Install with RubyGems:

    $ gem install unicode_utils

Example code:

    require "unicode_utils"

    UnicodeUtils.name("æ") => "LATIN SMALL LETTER AE"

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

    UnicodeUtils.downcase("Ümit") =>
"ümit"
Online documentation: http://unicode-utils.rubyforge.org/
Source: http://github.com/lang/unicode_utils

New since the 0.2.0 release:

  * name handles Hangul syllables and Private Use
    codepoints correctly

  * Normalization Form D

  * Normalization Form C
This topic is locked and can not be replied to.