Thanks for the advice.  I'll try that.  Will that cause problems in the
Linux version, or will it just ignore it?

thanks!

Mark

-----Original Message-----
From: Andrew Hunt [mailto:andy / toolshed.com]
Sent: 12 August 2002 16:54
To: ruby-talk / ruby-lang.org
Subject: Re: Ruby for Windows Problems - BUG??


	>works correctly in Linux version... 1.6.4 and in cgi-win version
1.6.5
	>
	>but NOT in ruby 1.6.7 (2002-03-01) [i586-mswin32]

Have you tried opening the file in binary mode:
open(name,"rb")
?

/\ndy

NOTICE:  This e-mail and any attachment(s) may contain confidential and
proprietary information of Goss International Corporation and/or its
subsidiaries and may be legally privileged. This e-mail is intended solely
for the addressee. If you are not the addressee, dissemination, copying or
other use of this e-mail or any of its content is strictly prohibited and
may be unlawful. If you are not the intended recipient please inform the
sender immediately and destroy the e-mail and any copies. All liability for
viruses is excluded to the fullest extent permitted by law. Any views
expressed in this message are those of the individual sender. No contract
may be construed by this e-mail.