My XML is using encoding UTF-8 and its content contains Chinese character.
When debug the following codes:
string strXmlFile = "xml.xml";
XmlDocument objXml = new XmlDocument();
objXml.Load(strXmlFile);
It returns "Invalid character in the given encoding" and point to
objXml.Load(strXmlFile);.
How can I solve this matter?
There are many examples found to show UTF-8 string but load UTF-8 XML.