> I believe the second function is superfluous. Yes, I am depending on a > conversion from const char* to QString. As for the pointer becoming > invalid, that probably depends on what Xerces does with what I pass. > If the first > thing it does is copy it, then I'm home free. Or, at least that is my > understanding of the C++ Standard.
Because it would wait to destruct the temp object until the outer function returns? Maybe so, I'd never thought of trying it. It wouldn't have been my intuition, though. > IIRC, there /are/ different UTF encodings, even within UTF-16. > There is something called UCS-4, and also something called UCS-2 (I > believe). I do not know the difference between these and their related > UTF-32 and UTF-16. Nor I, but that's what I had in mind when I expressed caution. -- Scott --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
