> Your class uses XMLString::transcode(), which transcodes to the local code
> page.  This will result in data loss in cases where content contains
> Unicode characters that are not representable in the local code page.  A
> better choice would be to transcode to UTF-8, which is compatible with
> char* APIs, and has the advantage that it can represent any Unicode
> character.
>
I also found this not quite good, but I could not find out how to convert to 
UTF-8. Perhaps you could provide an example?

Anyhow std::string is not capable handling UTF-8 - so the data has to be 
transcoded using the local code page when using std::string.

Sven

Reply via email to