I'm not 100% sure on the Mac, but I know that Windows puts a CRLF (\r\n) instead of just the unix newline (\n).
-----Original Message----- From: Pedro A Reche Gallardo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 4:03 PM To: [EMAIL PROTECTED] Subject: weird characters Hi, I have a cgi script that uploads files but I have found that when those files are uploaded from a Mac or Windows the return character (maybe other characters too) are replaced by something else. Does any one know how to avoid this? or alternatively, how can I translate those characters into the unix equivalents Cheers -- ******************************************************************* PEDRO A. RECHE , pHD TL: 617 632 3824 Dana-Farber Cancer Institute, FX: 617 632 4569 Harvard Medical School, EM: [EMAIL PROTECTED] 44 Binney Street, D1510A, EM: [EMAIL PROTECTED] Boston, MA 02115 URL: http://www.reche.org ******************************************************************* -------------------------------------------------------------------------------- This email may contain confidential and privileged material for the sole use of the intended recipient. If you are not the intended recipient, please contact the sender and delete all copies. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]