Re: Unix file vs. Mac file formats
| From: | Thomas Hurst | Date: | Wed, 09 May 2001 17:30:14 +0000 |
| Subject: | Re: Unix file vs. Mac file formats | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52154@lists.php.net to get a copy of this message | ||
On 9 May 2001 10:15:19 -0700, Josh.Hoover@knowledgestorm.com ("Hoover,
Josh") wrote:
> because (correct me if I'm wrong), Macs use a different character for
> carriage returns than Windows and/or Unix.
There are two characters to delimit end of lines - Carrage Return (CR)
and Line Feed (LF), which dates back to when printers needed to be told
to return the print head back to the start of the line and to move the
paper down a line.
Sadly for us, this has resulted in a somewhat confused standard, with
Windows using CRLF, Unix using LF and Macs using CR.
If you upload via FTP using ASCII mode, this will probably be handled
automagically for you, btw.
--
Thomas 'Freaky' Hurst - freak@aagh.net - http://www.aagh.net/