From: Xavier Noria Date: 2008-05-02T22:21:52+09:00 Subject: Re: Searching for latin/umlaut characters in string On Fri, May 2, 2008 at 2:52 PM, John Butler wrote: > > Xavier Noria wrote: > > On Fri, May 2, 2008 at 10:17 AM, John Butler > > wrote: > > > >> Xavier Noria wrote: > >> > >> > Sounds like an encoding issue with the source code itself. Are you > >> > writing that "é" in the program? If yes, is your editor configured to > >> > write UTF8? > >> > >> 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? :-)