2013/9/8 Kurt Pattyn <[email protected]> > Couldn't it be a solution to expand QChar to contain 32-bit code points > iso 16-bit, and have the unicode() function return an UCS4 value? > > At least, I think it would be nice that the checks for valid XML > characters would be concentrated in one place. >
No. QString operates on UCS-2, not UCS-4. > > The code calling this API needs to do the surrogate decoding. This class > may > > be interesting for them: > > > > https://codereview.qt-project.org/669 > > > > -- > > Thiago Macieira - thiago.macieira (AT) intel.com > > Software Architect - Intel Open Source Technology Center > > Kurt > _______________________________________________ > Development mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/development >
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
