Quote:
|
Originally Posted by help
The encoding declaration, <?xml version="1.0" encoding="ISO-8859-5"?>, contains an encoding attribute that sets the encoding for your document. The XmlTextReader has an Encoding property that returns the character encoding found in the encoding attribute in the XML declaration. If no encoding attribute is found, the default for the document is set to UTF-8 or UTF-16 based on the first two bytes of the stream.
|
Another thing to know is that if the xml file doesn't specify an encoding it must supply Utf-8 data, which is the default Xml encoding.
"ö" in an Utf-8 encoded Xml is not a problem in my experience. I didn't find any GM Xml interface, so this is as far as we get without you posting your code and sample data.