Ruby 1.9 includes some internationalization features, and Rails has recently added a LOT of great internationalization features.
Joined: Oct 14, 2008
My first project in ruby was simple site scraper using hpricot. Code sample that I tried to use seemed simple and straightforward. And then, because I tried to scrap a cyrillic site I run into problems which I couldn't solve. Xml parser started to throw errors, converting characters with iconv didn't work (or at least I couldn't make it work). So I gave up of doing this with ruby. I made that scraper in a matter of minutes using HtmlUnit (Java library)..
I'll give ruby another chance as soon as I have more time, but I was curious if the problem was with my lack of experience with ruby or (as I read at several forums) bad internationalization support in ruby. Anyway, as you pointed it out, it seems that they fixed the problems they had with earlier ruby versions so we'll see.
Joined: Feb 09, 2009
You might need to set $KCODE = 'U' in your script to tell Ruby to use UTF-8 by default.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Ruby in practice question: Do UTF-8 and Ruby fit well in practice?