From: Gregory Brown Date: 2009-07-07T23:42:58+09:00 Subject: Re: Ruby 1.8 - character encoding On Tue, Jul 7, 2009 at 10:21 AM, Thomas Thomassen wrote: > Gregory Brown wrote: >> http://blog.grayproductions.net/categories/character_encodings > > I have seen that series. I still can't work out how Ruby determines what > UTF-8 character to map to the 128-255 spaces. I missed why you wouldn't just set $KCODE="U" and stick w. UTF-8? Anyway, I *think* chars.pack("C*") is going to give you ISO-8859-1 but someone else will need to verify for you. -greg