When I use the class XmlDocument to parser the xml file which contains chinese words and using the gb2312 encoding, it always produces the error message “unmatched tags”,
also, the chinese words change to be irrecognizable. I feel very strange.
When I use the class XmlDocument to parser the xml file which contains chinese words and using the gb2312 encoding, it always produces the error message “unmatched tags”,
also, the chinese words change to be irrecognizable. I feel very strange.
The part of xml file is:
<?xml version="1.0" encoding="gb2312"?>
窗口(window)
Cheers
Warren[/quote]
I test in using the Markup to parser the same file, it works. I don’t think it the the file’s defect.
No, I probably won’t add support for encodings. To do so would require at least a few days to code and test it, and would probably involve more code than the entire XML parser! Since nobody else has ever asked for it before, I really can’t justify the effort!