ID: 30846 Updated by: [EMAIL PROTECTED] Reported By: migmam at ya dot coom -Status: Open +Status: Bogus Bug Type: XML related Operating System: Windows 2000 PHP Version: 5.0.1 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php The default encoding is utf8 now (this is a change), but it is expected and documented. Previous Comments: ------------------------------------------------------------------------ [2004-11-20 01:08:34] migmam at ya dot coom Description: ------------ Hi, I have upgraded to PHP5 and an old module that reads an XML file doesn't work now. I use SAX to read the file and everything works fine until a non ASCII characters is found. When it finds a non ascii character (spanish characters in my case -áéíóú-) it splits the element in to two different ones. For example, the word "Información" is divided into "Informaci" and "ón". I have indicated in the XML document heading the type encoding="ISO-8859-1" I have saved it like codified as ISO-8859-1 text file. In the parser option I have specified ISO-8859-1 (XML_OPTION_TARGET_ENCODING) And it doesn't work Best regards, Miguel Angel ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30846&edit=1