From: Pit Capitain Date: 2005-10-25T19:13:57+09:00 Subject: Re: Byte order reading on windows versus unix in ruby Yukihiro Matsumoto schrieb: > Hi, > > In message "Re: Byte order reading on windows versus unix in ruby" > on Wed, 19 Oct 2005 22:06:43 +0900, Zach Dennis writes: > > |Isn't bindmode supposed to be getting set automatically? Or is this up > |and coming for ruby 1.8.3 or 2.0 ? > > Short answer: no. > > Longer answer: if there could be a rule to set binmode automagically, > I'm glad to add it to CVS HEAD. Shouldn't binmode be the default? This way we'd have the same behaviour on Unix and Windows, which would increase the portability of Ruby scripts. We'd need a new method to leave binmode, though, but I haven't heard of anyone using non-binmode on Windows. Regards, Pit