From: Mauricio Kishi Date: 2006-12-22T12:28:12+09:00 Subject: Re: Weird error while reading binary files Joel VanderWerf wrote: > Mauricio Kishi wrote: >> theFile = File.open('FilePath') > > On windows, you'll want > > theFile = File.open('FilePath', "rb") > > to put the file in binary mode (doesn't convert \r\n to \n). Ooops, that was a mistake while writing the post! I'm already opening the files on binary mode... -- Posted via http://www.ruby-forum.com/.