"Ara.T.Howard" <Ara.T.Howard / noaa.gov> writes:

> On Tue, 25 Oct 2005, Yukihiro Matsumoto wrote:
> 
> > 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 <ralph / lkjlkj.com> writes:
> >
> > |f = File.new(fname)
> >
> > Try
> >
> >  f = File.new(fname, "rb")
> >
> > and see how it works.
> 
> this comes up so often - would it make sense to be the default mode on
> windows?

I'm guessing here, but my guess is that reading text files with ruby
is more common than non-text files.  Does "rb" affect that?

-- 
I tend to view "truly flexible" by another term: "Make everything
equally hard". -- DHH