From: Yochen Gutmann Date: 2006-05-30T07:49:05+09:00 Subject: Re: Saving a PDF locally 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/.