From: Emmanuel Touzery Date: 2004-02-01T19:11:09+09:00 Subject: Re: nuby: can't get an image via http On Saturday 31 of January 2004 21:23, Tanaka Akira wrote: > In article <200401271823.35269.emmanuel.touzery@wanadoo.fr>, > > Emmanuel Touzery writes: > > I confirm that the code i posted in the previous message (and that I > > repost here) works under linux. the fact it doesn't work under windows is > > definitely related to the binary flag of the files. maybe it's a bug in > > open-uri that the file is not in binary mode? > > How about following patch? I'd be happy to test, unfortunately i don't have a compiler nor much time to try and compile ruby for win32... :O( hopefully someone will step in and check this out. emmanuel