From: Joel VanderWerf Date: 2006-12-22T12:25:58+09:00 Subject: Re: Weird error while reading binary files 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). -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407