note 50182 added to function.xml-parser-create
| From: | php at stock-consulting dot com | Date: | Mon, 21 Feb 2005 10:47:26 +0000 |
| Subject: | note 50182 added to function.xml-parser-create | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-85301@lists.php.net to get a copy of this message | ||
Even though I passed "UTF-8" as encoding type PHP (Version 4.3.3) did *not* treat the
input file as UTF-8. The input file was missing the BOM header bytes (which may indeed be omitted,
according to RFC3629...but things are a bit unclear there. The RFC seems to make mere
recommendations concering the BOM header). If you want to sure that PHP treats an UTF-8 encoded file
correctly, make sure that it begins with the corresponding 3 byte BOM header (0xEF 0xBB 0xBF)
----
Manual Page -- http://www.php.net/manual/en/function.xml-parser-create.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+50182
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50182&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50182&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50182&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50182&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50182&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+50182&report=yes
Search -- http://master.php.net/manage/user-notes.php