[Expat-discuss] Special Character encoding
ofi
ofi at mymail.ch
Tue Nov 15 14:50:36 CET 2005
hi everybody,
actually i'm using libexpat.so.0.5.0 under red hat 6.2. i want du parse an
xml-file that contains many text-fields und german language, so der can be
some "special characters" for example like an ü. i tried to encode this
character like this  but when i parse thru it the function (set in
XML_SetCharacterDataHandler) gets 2 characters. the first one is 194 (0xC2)
and then the correct one 129 (0x81).
so for mit it looks like a problem with the encoding (some sort of UTF
encoding). so i also tried to set "ISO-8859-1" as encoding when i call the
XML_ParserCreate function, but this has the same effect.
has anybody an other idea to get only one character with the ASCII code
129??
____________________________________________________________________________
________
mymail - der unschlagbare und kostenlose E-Mail-Dienst der Schweiz!
http://mymail.ch/?redirect=9999
Der neue Opel Zafira. Sichern Sie sich Ihren Preisvorteil für
Schnell-Entschlossene.
http://mymail.ch/?redirect=2138
More information about the Expat-discuss
mailing list