7stud -- wrote in post #995589:
>
> Cee Joe, are you reading the file in binary mode or
> text mode?

If you don't know, then show us the line in your code where you open the 
file.

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