#30846 [Opn->Bgs]: non ASCII characters
| From: | derick@php.net | Date: | Sat, 20 Nov 2004 00:51:27 +0000 |
| Subject: | #30846 [Opn->Bgs]: non ASCII characters | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-69287@lists.php.net to get a copy of this message | ||
ID: 30846
Updated by: derick@php.net
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