From: 7stud -- Date: 2011-03-06T07:33:56+09:00 Subject: Re: UTF-8 support - still stuck You can try and troubleshoot the problems you are having by determining the encoding of every string in your program. To determine your source code's encoding, i.e. what the literal strings you type in your program get encoded as, do this: puts __ENCODING__ To determine a particular string's encoding, e.g. a string you read from a file, do this: puts the_str.encoding.name -- Posted via http://www.ruby-forum.com/.