Using XMLDocument to load chinese characters

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I am using XMLDocument to parse an XML which has chinese characters. It
gives an error while using XMLdoc.load(string)

The string has chinese characters.

Please let me know if you have any idea about the same.

Thanks
 
Try copying your string into an XML file, and load it in IE.

Does your XML file load in IE, without errors ? It needs have the
Unicode encoding set, for XmlDocument to be able to parse it.

Regards,

Cerebrus.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top