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: GitHub - lang/unicode_utils: Unicode algorithms for Ruby 1.9
Example code:
require "unicode_utils"
UnicodeUtils.name "æ" => "LATIN SMALL LETTER AE"
# Ruby 1.9 currently doesn't provide Unicode-aware case conversion
UnicodeUtils.upcase "Straße" => "STRASSE"
UnicodeUtils.downcase "Ümit" =>
“ümit”
Plans for future releases:
* implement language-specifc rules for upcase/downcase
* normalization
* sorting, ...