Unicode and XML (XML_Unserializer)
| From: | Andrew Nagy | Date: | Tue, 07 Mar 2006 18:15:53 +0000 |
| Subject: | Unicode and XML (XML_Unserializer) | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-23235@lists.php.net to get a copy of this message | ||
I am working with an XML Gateway in which many of the xml records are in foreign languages (well, I am an American, so they are foreign to me) with some very fun characters. I am fairly new to character encoding formats but I think the correct approach is to covert the code into unicode so that it can be properly displayed on the web page, right?
I understand that PHP does not have proper support for this, but have found some home-brew character conversion functions that I could use.
My main questions is how do I convert the characters in an XML document? I am using XML_Unserializer ... should I just forget Unserializer and use XSLT?
Thanks!!!
Andrew