From: Jonathan Nielsen Date: 2010-02-20T03:48:25+09:00 Subject: Re: RTranslate Gem (Open-URI) and Encoding > Where would I specify the encoding to fix this problem?  And yes, I just > noticed that in a reply it DOES look correct, but when I posted it, it > was not.  I'm guessing somewhere (other than $KCODE) I need to set it as > UTF-8. Are you using ruby 1.8 or ruby 1.9? In 1.9, you should do string.force_encoding("UTF-8") or string.force_encoding("ISO-8859-1")... as needed. In ruby 1.8, I think it just works with the bits you provide it and it's your terminal that determines what actually gets displayed. -Jonathan Nielsen