Hi

I parse an UTF-8 xml file on Mac OS X. In my C++ application I use the a 
standard string (std::string) to save the content of the tags. Now I have 
problems with characters > 127. If I use XMLString::transcode there are two 
bytes for such a character instead of one byte. But the std::string uses 
only char's (1 byte) for storing the data.

How can I transcode the contents from XMLCh (2 bytes) into the right format 
for my std::string's?

Thanks for any help.

Regards
Hans 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to