G
Guest
I am having problems reading an XML file which contains Euros represented as character 128.
The xml header is: <?xml version="1.0" encoding="iso-8859-1"?>
and character 128 is meant to be the euro symbol in this character set, and in ANSICodePage 1252 (which is the active code page on my Windows XP machine).
Using The XmlTextReader to read an element value containing a single euro symbol (character 128), produces a string which displays as a square block in VB .Net. The AscW() function displays 128 for the character, while the Asc() function displays 63 (a question mark!).
Is there something I've misunderstood about encoding, or does this seem like a problem in the XmlTextReader?
The xml header is: <?xml version="1.0" encoding="iso-8859-1"?>
and character 128 is meant to be the euro symbol in this character set, and in ANSICodePage 1252 (which is the active code page on my Windows XP machine).
Using The XmlTextReader to read an element value containing a single euro symbol (character 128), produces a string which displays as a square block in VB .Net. The AscW() function displays 128 for the character, while the Asc() function displays 63 (a question mark!).
Is there something I've misunderstood about encoding, or does this seem like a problem in the XmlTextReader?