On 08 Sep 2013, at 22:42, Konstantin Ritt <[email protected]> wrote:
> 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.
>
Shouldn't QString be adapted then as well? UCS-2 is obsolete since version 2.0
of the unicode standard.
Regards,
Kurt
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development