The reason is simple. It's read in ISO-8859-1, after reading, you have
to change the xml content to UTF-8. Something like:
xmlcontent = new String(xmlcontent.getBytes(), "UTF-8");
Regards,
Shi Jinghai/Beijing Langhua Ltd.
在 2009-12-25五的 09:39 +0800,Zhang Shiqian写道:
> hi all,
>
> When i use the
hi all,
When i use the XML Data Import function, the xml file which contains Chinese
charactors was imported successfully, but when i checked the data in the
pages, the Chinese charactors were replaced with '??', the file encoding is
utf-8, and the xml header encoding also 'utf-8', i tried to cop