From: Brian Candler Date: 2012-06-10T05:00:18+09:00 Subject: Re: file write is not the same file read, some encoding issue? roob noob wrote in post #1063845: > ah crap puts got me again :(. Sorry to keep posting issues that I > shortly find the answer to myself, I only like to ask for help when I am > really stuck. Too bad it is too late to delete this. Also, for a completely lossless copy even under Windows, use "rb" and "wb" -- Posted via http://www.ruby-forum.com/.