You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Tobias Blomberg <to...@fra.se> on 2002/06/14 15:13:34 UTC
Problem using national (swedish) characters
Hi!
I have a problem with my swedish characters. It seems that DOMString do not
accept them. If I do like this:
DOMString dom_str = DOMString::transcode(str);
printf("dom_str=%s\n", dom_str.transcode());
Assuming "str" contains swedish characters, the dom_str end up empty. What am
I doing wrong. I have tried to use setlocale(LC_ALL, "ISO-8859-1") but it
works no better.
Everything else works just fine, as long as I don't use any swedish
characters.
Can someone help me with this, please.
I use version 1.7.0 of Xerces-C on Red Hat Linux 7.3.
Best regards,
Tobias Blomberg
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org