From: Mauricio Kishi Date: 2006-12-22T12:31:31+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). OMG! No! Somehow I've missed it on the newest .rb files.. O_O" Thanks a lot.. And sorry for such a stupid thing. -- Posted via http://www.ruby-forum.com/.