From: matz@... (Yukihiro Matsumoto) Date: 2003-01-03T10:14:41+09:00 Subject: Re: [BUG?] Tempfile Hi, In message "[BUG?] Tempfile" on 03/01/03, Pierre Baillet writes: |it seems that using tempfile.rb (ruby 1.7.3 from PragProg installer) |with binary files does fail on Windows (because of the missing "b" flag |when the file is opened for writing). How about calling "binmode" to the tempfile object? t = Tempfile.new("foo") t.binmode ... matz.