note 65837 added to function.include
| From: | lholst+phpnet at students dot cs dot uu dot nl | Date: | Mon, 08 May 2006 19:15:51 +0000 |
| Subject: | note 65837 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-110892@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 83.137.20.120
Probable Submitter: 145.97.206.63
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.include.php
Edit -- http://master.php.net/note/edit/65837
Del: integrated -- http://master.php.net/note/delete/65837/integrated
Del: useless -- http://master.php.net/note/delete/65837/useless
Del: bad code -- http://master.php.net/note/delete/65837/bad+code
Del: spam -- http://master.php.net/note/delete/65837/spam
Del: non-english -- http://master.php.net/note/delete/65837/non-english
Del: in docs -- http://master.php.net/note/delete/65837/in+docs
Del: other reasons-- http://master.php.net/note/delete/65837
Reject -- http://master.php.net/note/reject/65837
Search -- http://master.php.net/manage/user-notes.php