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("i", :tr) => "İ"
UnicodeUtils.nfkc("fi") => "fi"
Online documentation: http://unicode-utils.rubyforge.org
Source: http://github.com/lang/unicode_utils
New since the 0.3.0 release:
* Normalization Form KD
* Normalization Form KC
All four normalization forms are supported now.
···
--
Stefan Lang