hi,everyone

now I'm reading a test.xml file in php,the xml file includes some japanese
or big5's content.
but for some reason ,I must set the default charset with 'GB2312' in php.ini
,so it means this setting such as "<meta http-equiv="Content-Type"
content="text/html; charset=utf-8">" is valid and the content can't be
displayed normal.

so ,I convert the unicode to gb2312,but some char still not be normal.

How do I go about that?
thank for ur any advice!


test.xml:

<?xml version="1.0" encoding="UTF-8"?>
<users>
 <user>èèåçæäæ</user>
 <temp>ãçãæãã</temp>
 <test>çéæèææ</test>
 <tt>ããããããæåæåããããéåçé</tt>
</users>

Reply via email to