Encoding support in SAX-like interface
| From: | Jirka Kosek | Date: | Thu, 23 Sep 2004 09:40:15 +0000 |
| Subject: | Encoding support in SAX-like interface | ||
| Groups: | php.xml.dev | ||
| Request: | Send a blank email to php-xml-dev+get-459@lists.php.net to get a copy of this message | ||
Hi,
I know that in PHP4 and older xml_parser used expat parser as an underlying implementation and was limited to characters in ISO-8859-1. According to documentation in PHP5 xml_parser should be built on the top of libxml2. Thus I thought that it would support all encodings supported by libxml2. My experience is that characters outside of ISO-8859-1 are replaced by ? in the same way as expat does it.
Is this intentional behaviour? Or is this a bug in libxml2 interface?
Thanks,
Jirka
--
------------------------------------------------------------------
Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz
------------------------------------------------------------------
Profesionální školení a poradenství v oblasti technologií XML.
Podívejte se na náš nově spuštěný web http://DocBook.cz
------------------------------------------------------------------