From: Robert Lehman Date: 2009-03-18T06:17:35+09:00 Subject: Re: Unicode Character 'SUBSTITUTE' (U+001A) troubles... On Mar 17, 1:33 pm, Tim Hunter wrote: > Robert Lehman wrote: > > On Mar 17, 12:01 pm, Robert Lehman wrote: > >> fin = File.open(ARGV[0], 'r') > >> the rest. > > I'm using Windows btw. > > Open the file with "rb" instead of "r". > -- > Posted viahttp://www.ruby-forum.com/. I tried using rb and the output spits out 1/2 plain text and 1/2 random Unicode. Our project is only allowed to be run on Linux and it seems to work fine on there, so I'll just leave the Windows problem alone unless someone suggests a good fix.