Hi Lars,
Xerces-C uses host byte order, so you should be fine passing in the
pointer from the QString.
John
On 17/01/11 15:24, Lars Buitinck wrote:
Hello,
I'm using XQilla and Xerces-C++ in a Qt-based app, and I need to
"convert" a QString to an XMLCh *. I can get a NUL-terminated unsigned
short * storing UTF-16 in native byte order from Qt, but I wasn't sure
what byte order Xerces-C++ expects its XMLCh's to be in. If they are
also supposed to be host byte-order, I could just pass the pointer
without any conversion.
Sorry if this has been asked before, I couldn't find it on the web.
Regards,
Lars Buitinck