From: Ernest Ellingson Date: 2001-01-12T22:25:22+09:00 Subject: [ruby-talk:9197] Re: binmode? Some web servers IIS in particular when running in windows give a character count for \r\n as one character. In binary mode, this does not happen \r\n are reported as two bytes. Ernie At 13:51 1/12/2001 +0900, you wrote: >What is IO#binmode for exactly? (Yes, I know it puts a >stream in binary mode.) I notice that it's only for Windows... > >Hal It is earlier when you think. --Robert Heinlein