RE: [PHP] What is new line? \n? \j? 13? 10? 15?
| From: | Maxim Maletsky | Date: | Thu, 07 Sep 2000 12:16:00 +0000 |
| Subject: | RE: [PHP] What is new line? \n? \j? 13? 10? 15? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-15698@lists.php.net to get a copy of this message | ||
try to run this:
for($i=0; $i<256; $i++)
echo '<br>Caracter '.$i.'
--><b>'.chr($i).'</b><--
';
and you'll see that the only ANSI characters recognized as newlines by both
MAC and WIN are 12, and 13...
but is it a standart so whatever your system is 10 and 13 will ALWAYS and
THE ONLY be newlines, or perhaps on a different OS it will be a #123 instead
10.. ?
This is a question ... yet unanswered to me ...
Cheers!
-----Original Message-----
From: Martin [mailto:martin@thomatechnik.de]
Sent: Thursday, September 07, 2000 9:07 PM
To: php-general@lists.php.net
Subject: Re: [PHP] What is new line? \n? \j? 13? 10? 15?
I only know \n and \r\n
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net