ID:               30077
 Updated by:       [EMAIL PROTECTED]
 Reported By:      stronk7 at contiento dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: MacOS X 10.3
 PHP Version:      5.0.1
 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:
------------------------------------------------------------------------

[2004-09-13 19:48:03] stronk7 at contiento dot com

Description:
------------
I'm not absolutely sure but, the encoding specified in 
the xml_parser_create() seems to be the OUTPUT encoding, 
not the INPUT encoding (what is automatically detected).

In 5.0.0 and 5.0.1 it defaults (the OUTPUT parameter) to 
ISO-8859-1. That's the reason because we have to fill 
the parameter if we want strings encoded differently.

In 4.x strings were encoded to the auto-detected 
encoding (ISO files returned ISO strings and UTF files 
returned UTF strings)

In 5.0.2 and so on this have changed again (if I'm not 
wrong) and returned strings will be always in UTF-8 
(unless you specify a different OUTPUT encoding 
parameter, of course). See http://bugs.php.net/bug.php?
id=29711 for this.

Is this correct? Documentation should be changed a bit 
to explain al this (output vs input, differences between 
PHP versions...).



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30077&edit=1

Reply via email to