From: Daniel de Angelis Cordeiro Date: 2011-01-14T06:03:07+09:00 Subject: Re: Reading a CSV file with UTF-16LE encoding Excellent. Thank you very much! Best regards, Daniel On Thu, Jan 13, 2011 at 18:57, James Edward Gray II wrote: > On Jan 13, 2011, at 2:48 PM, Daniel de Angelis Cordeiro wrote: > >> Exactly, setting :row_sep manually works. >> >> Since I also don't know which line ending the file has, I was thinking >> in use instead IO.readline() (maybe reading only 1024 each time like >> in csv code) and look at the end of the string to see which line >> separator the files uses. I don't know if there is a more efficient >> solution... > > Yeah, I'll fix that code to be more encoding friendly, but that's what needs doing. > > James Edward Gray II >