note 79258 added to ref.simplexml
| From: | onPHP5 dot com at osu1 dot php dot net | Date: | Sun, 18 Nov 2007 00:37:36 +0000 |
| Subject: | note 79258 added to ref.simplexml | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-132376@lists.php.net to get a copy of this message | ||
It does not say in the docs, but SimpleXML will convert all text into UTF-8, if the source XML
declaration has another encoding. Eg, if the source has the following XML decl:
<?xml version="1.0" encoding="windows-1251" ?>
all the text in the resulting SimpleXMLElement will be in UTF-8 automatically.
----
Server IP: 88.81.249.248
Probable Submitter: 194.44.193.103
----
Manual Page -- http://www.php.net/manual/en/ref.simplexml.php
Edit -- https://master.php.net/note/edit/79258
Del: integrated -- https://master.php.net/note/delete/79258/integrated
Del: useless -- https://master.php.net/note/delete/79258/useless
Del: bad code -- https://master.php.net/note/delete/79258/bad+code
Del: spam -- https://master.php.net/note/delete/79258/spam
Del: non-english -- https://master.php.net/note/delete/79258/non-english
Del: in docs -- https://master.php.net/note/delete/79258/in+docs
Del: other reasons-- https://master.php.net/note/delete/79258
Reject -- https://master.php.net/note/reject/79258
Search -- https://master.php.net/manage/user-notes.php