Chilkat Email Components Home

Chilkat XML Parser Supports Unicode?

Back

Question:
I want to use your CkXml parser and was wondering how this class supports Unicode? Especially with the command LoadXmlFile(), because the method requires "const char*" ?

Answer:
These examples may help:
CkString examples

All Ck* classes have a "Utf8" property which can be set to true to indicate that "const char *" arguments are utf-8 strings. The CkString class provides methods to convert to "wchar_t *" if necessary.

There is no source code associated with this article.