[Development] [Question] Implementation of XML character validation

Kurt Pattyn pattyn.kurt at gmail.com
Sun Sep 8 23:15:51 CEST 2013





On 08 Sep 2013, at 22:42, Konstantin Ritt <ritt.ks at gmail.com> wrote:

> 2013/9/8 Kurt Pattyn <pattyn.kurt at gmail.com>
>> 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.
> 
Shouldn't QString be adapted then as well? UCS-2 is obsolete since version 2.0 of the unicode standard.

Regards,
Kurt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130908/8a4e1a74/attachment.html>


More information about the Development mailing list