Joel VanderWerf wrote:
> Use "wb" instead of "w". On windows, this treats the data as binary
> instead of lines of text that should be terminated with cr-lf.
well, although I am working on OSX (forgot to mention), I tried your 
hint but that did not work(like expected). Hm.. Any other idea?

-Yochen

-- 
Posted via http://www.ruby-forum.com/.