>> I'm still not entirely sure why something like this *shouldn't* round 
>> trip appropriately though.
> 
> If you're under Windows, ruby/C will translate \r\n to \n on read and 
> vice versa on write, unless you open the file in binary mode.

Yes, but if I read and write both in ASCII mode, should it not be 
expected to round trip? I'm a bit confused...

-r
-- 
Posted via http://www.ruby-forum.com/.