From: John Butler Date: 2008-05-02T23:38:28+09:00 Subject: Re: Searching for latin/umlaut characters in string Xavier Noria wrote: > On Fri, May 2, 2008 at 2:52 PM, John Butler > wrote: >> >> >> >> No the string is coming in via a csv file. >> > >> > Is the CSV file in UTF8? >> >> Its Ansii as far as i can tell. Its actually coming from an excel >> spread sheet and the user then "saves as" comma separted csv. Then its >> import to the application wher i am running into the problem. > > If the CSV is ANSII, and the Ruby source code is ANSII, where is the > "辿" coming from? :-) Here is an example of the csv file with the word below and how it is displayed. They are identical. It looks like the file is utf-8 after all. M端ller Attachments: http://www.ruby-forum.com/attachment/1836/testcsv.csv -- Posted via http://www.ruby-forum.com/.