[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] linefeed conversion in cgis



On Wed, Jul 07, 1999 at 12:45:14PM -0700, Graeme Kennedy wrote:
> List:
> 
> Okay, I have just about exhausted my senses. I am trying to convert data
> entered into a <textarea> tag by the user into unix linefed data. I don't
> have a windows machine available, but was able to determine that unix lines
> end in ascii 10, and that macintosh lines end in 13/10. How do dos lines
> end? All the dos files my friend uploads to my server are automatically
> converted to unix and he doesn't know how to disable this to send me a
> sample file.
> 

Macintosh lines end in 13.  DOS lines end in 13/10.  Your friend should
upload the file as binary data, rather than text, to keep the line feeds
from being converted.

Ronald

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org