Re: [libxml++] std::string as a container for UTF-8 data in libxml++



Le Lundi 13 Février 2006 19:12, Tim Conkling a écrit :
> Am I correct in
> believing that libxml++ will correctly store UTF-8 data in a std::string,
> such that I can later access the contents of a std::string's character
> buffer directly and the UTF-8 data will still be intact,

yes

> or does 
> std::string somehow mangle or reject non-ASCII characters?

No. The string instances (either ustring or std::string) are instanciated from 
untouched xmlChar* values.

Regards,

Christophe




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]