Dealing with XML charsets
| From: | Peter | Date: | Tue, 02 Jul 2002 21:05:28 +0000 |
| Subject: | Dealing with XML charsets | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-105037@lists.php.net to get a copy of this message | ||
Hi,
Has anyone any advice as to how to deal with XML documents encoded in windows-1252: a character set
that PHP's XML extension won't process? I've
got a large number of such documents, and using xml_parse_into_struct() would be the easiest way to
handle them - but because of the encoding
problem I keep on ending up with ? instead of characters in the document in certain places. Is
there any way I could convert the charset?
Thanks
Peter