#42095 [Ver->Csd]: Missing useful encoding information for XMLReader/libxml

From: Date: Sat, 28 Jul 2007 23:47:04 +0000
Subject: #42095 [Ver->Csd]: Missing useful encoding information for XMLReader/libxml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969377169@lists.php.net to get a copy of this message
ID: 42095 Updated by: nicobn@php.net Reported By: rbarton at coexia dot com -Status: Verified +Status: Closed Bug Type: Documentation problem Operating System: N/A PHP Version: Irrelevant Assigned To: nicobn New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2007-07-25 08:47:46] rbarton at coexia dot com Description: ------------ There is no reference in the XMLReader or libxml documentation to the fact that libxml uses UTF-8 as its internal character set, in all cases (as per http://www.xmlsoft.org/encoding.html#internal). As such, the output from any XMLReader function or property will always be in UTF-8, regardless of the input encoding specified. Anyone unfamiliar with libxml may assume that the encoding parameter passed to XMLReader::open() would cause the output to be in the same encoding, which is not the case for any encoding except UTF-8. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42095&edit=1

« previous php.doc (#969377169) next »