php5: domDocument source encoding?
| From: | Andreas Goetz | Date: | Mon, 26 Jul 2004 14:31:38 +0000 |
| Subject: | php5: domDocument source encoding? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-191885@lists.php.net to get a copy of this message | ||
I'm confused and google couldn't answer :(
I'm parsing XML files using domDocument and XPath in php5. Works like a
charm. But- how do I know if I need to apply and utf8decode to the data
returned from the domDocument? Unlike xml_parser_create the domDocument does
not seem to offer an parameter for source encoding.
Any ideas?
Thanks a lot,
Andi