Question:
When I write "Österreich" via the newchild2-function from the Chilkat-XML I only get "Österreich". How can i solve that problem?
When you see 2 garbage characters in place of a single German (8bit) char, it means the 2 bytes of the utf-8 representation of the German char are being interpreted as two individual 1-byte ANSI (iso-8859-1 / Windows-1252) represented chars.
The error can be in one of two places:
1) Your simply looking at the output in a program (editor, terminal, or whatever) that is interpreting the bytes as ANSI, when you really have utf-8, and the program SHOULD be interpreting the bytes as utf-8.
or
2) You passed the utf-8 byte representation to a Chilkat C++ method (I assume C++?) but the method is expecting "const char *" to be ANSI.
See:
http://www.cknotes.com/utf8-c-property-allows-for-utf-8-or-ansi-const-char/
http://www.cknotes.com/understanding-a-typical-8bit-character-problem-such-as-w-european-language-accented-chars/
Thank's for the fast answer. It's solved. The problem was the editor.