note 68713 added to function.dom-domdocument-loadxml
| From: | mp at webfactory dot de | Date: | Tue, 08 Aug 2006 15:26:54 +0000 |
| Subject: | note 68713 added to function.dom-domdocument-loadxml | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-115655@lists.php.net to get a copy of this message | ||
While loadXML() expects its input to have a leading XML processing instruction to deduce the
encoding used, there's no such concept in (non-XML) HTML documents. Thus, the libxml library
underlying the DOM functions peeks at the <META> tags to figure out the encoding used.
See http://xmlsoft.org/encoding.html.
----
Server IP: 212.124.37.9
Probable Submitter: 195.227.108.35
----
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.dom-domdocument-loadxml.php
Edit -- https://master.php.net/note/edit/68713
Del: integrated -- https://master.php.net/note/delete/68713/integrated
Del: useless -- https://master.php.net/note/delete/68713/useless
Del: bad code -- https://master.php.net/note/delete/68713/bad+code
Del: spam -- https://master.php.net/note/delete/68713/spam
Del: non-english -- https://master.php.net/note/delete/68713/non-english
Del: in docs -- https://master.php.net/note/delete/68713/in+docs
Del: other reasons-- https://master.php.net/note/delete/68713
Reject -- https://master.php.net/note/reject/68713
Search -- https://master.php.net/manage/user-notes.php