From: Ad Ad Date: 2009-06-26T06:29:04+09:00 Subject: utf8 encoding problem Hi, I am retrieving a string from a txt file. The file contains some utf8 characters. I am comparing these characters against a default string. The problem is that some of the characters are not stored in a default format. For example: A is stored as A Naturally when I compare the character it fails. Strangely when I unpacked the character it appears as 65313 which is the correct utf8 number for A. Any way around this? thanks. -- Posted via http://www.ruby-forum.com/.