On Wed, 19 Oct 2005 09:38:43 +0200, Robert Evans <robert.evans / acm.org>  
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.