Roger Pack wrote: > > Yes, but if I read and write both in ASCII mode, should it not be > expected to round trip? I'm a bit confused... irb(main):001:0> [RUBY_VERSION, RUBY_PLATFORM] => ["1.9.2", "i386-mswin32_100"] irb(main):002:0> File.open("zz", "w") {|io| io.write "foo\r\nbar\nbaz\n"} => 16 irb(main):003:0> File.read("zz") => "foo\n\nbar\nbaz\n" Notice the "\r\n" came back as "\n\n". Regards, Bill