From: ts Date: 2002-09-07T00:53:48+09:00 Subject: Re: cgi.rb replacing "0x0a" symbols with "0x0d 0x0a" ? >>>>> "R" == RayZ writes: Well, I know nothing on win32 but try with "wb" R> newFile = File.new(CustomDir + newFilename + extension, "w") newFile = File.new(CustomDir + newFilename + extension, "wb") do say that you want a binary file (without conversion) Guy Decoux