Ruby doesn't support unicode normalization natively, but you can use
this gem:
https://github.com/knu/ruby-unf
Hope that helps.
--
Aaron Patterson
http://tenderlovemaking.com/
You can still use it, but AFAIK iconv support is going to be dropped.
The encoding system in 1.9 will let you convert between encodings just
fine, but it doesn't do transliteration.
Probably the best path would either be to extract the iconv extension
from Ruby and provide it as a gem, or to use an existing gem like this
one:
https://github.com/rsl/stringex
I know it's not the ideal answer, but I hope it helps.
iconv's //TRANSLIT is not Unicode normalization.
Moreover iconv translit works only with glibc and GNU libiconv,
and the actual behavior is not documented.
--
NARUSE, Yui <nar...@airemix.jp>
Ah. Thanks for the clarification!