From: Yukihiro Matsumoto Date: 2005-10-25T17:53:22+09:00 Subject: Re: ruby gives different answer for checksum of files on windows and FreeBSD? Hi, In message "Re: ruby gives different answer for checksum of files on windows and FreeBSD?" on Tue, 25 Oct 2005 17:37:02 +0900, Ralph Smith writes: |f = File.new(fname) Try f = File.new(fname, "rb") and see how it works. matz.