From: Stefan Schmiedl Date: 2005-10-19T16:46:58+09:00 Subject: Re: Byte order reading on windows versus unix in ruby On Wed, 19 Oct 2005 09:38:43 +0200, Robert Evans wrote: > I have written some code that reads bytes from a file in bigendian order > (the file was written in big-endian order). It works fine on unix, but > on windows it dies when it encounters 1a, also known as 26 also known as > ctrl-z also known as an eof character in dos. This causes the read to > stop. Is this a known bug? Is something else going on here? > > Thanks in advance, > Bob Evans > > File.open("name", "rb") s.