how to display the info including japanese or big5 etc
| From: | Span | Date: | Mon, 05 Jan 2004 08:01:36 +0000 |
| Subject: | how to display the info including japanese or big5 etc | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173731@lists.php.net to get a copy of this message | ||
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>