note 65837 deleted from function.include by danbrown
| From: | danbrown@php.net | Date: | Mon, 18 May 2009 01:03:22 +0000 |
| Subject: | note 65837 deleted from function.include by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155476@lists.php.net to get a copy of this message | ||
Note Submitter: lholst+phpnet at students dot cs dot uu dot nl
----
What cavarlier refers to is that on some editors, UTF-8 files are prefixed with a BOM (Byte Order
Mark), an invisible marker three bytes in size, which are output by PHP if it encouters them (which
is before the <?php on the first line). Notepad is particularly notorious creating these.
However, any decent editor (e.g. Notepad2) can save UTF-8 files without BOM, and if you do that the
first <?php tag will truly be on the first character of the file.
So this does not mean that UTF-8 cannot be used by PHP.