Unfortunately, the Unicode 0.1 (sudo gem install unicode) doesn\'t work on Ruby 1.9. I have the following snippet:
sudo gem install unicode
require \"rubygems\" require
There is also I18n.transliterate('string') method in Rails. Works like a charm.
I18n.transliterate('string')