ID: 42095 Updated by: [EMAIL PROTECTED] Reported By: rbarton at coexia dot com -Status: Open +Status: Verified Bug Type: Documentation problem Operating System: N/A PHP Version: Irrelevant Assigned To: nicobn
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
