For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > July 2007 > #42095 [Ver->Csd]: Missing useful encoding information for XMLReader/libxml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #42095 [Ver->Csd]: Missing useful encoding information for XMLReader/libxml
nicobn@php.net

2007-07-28, 10:00 pm

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com