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”
Online documentation: http://unicode-utils.rubyforge.org
Source: GitHub - lang/unicode_utils: Unicode algorithms for Ruby 1.9
New since the 0.3.0 release:
-
Normalization Form KD
-
Normalization Form KC
All four normalization forms are supported now.