[Development] [Question] Implementation of XML character validation

Thiago Macieira thiago.macieira at intel.com
Sun Sep 8 23:15:43 CEST 2013


On domingo, 8 de setembro de 2013 23:05:49, Kurt Pattyn wrote:
> So, either the documentation of QChar should at least indicate that it is
> encoded in UTF-16, which I doubt (because then QChar should have place for
> 2 16-bit values), or QChar should be adapted to conform to the statement
> that Qt5.0 is Unicode 6.2 compliant, or it should be indicated that QChar
> conforms to an older standard.
> 
> So, I was just wondering how QChar fits within the Unicode 6.2 standard?
> Reading the docs doesn't clarify much.

It does very well, QChar contains one 16-bit unit, it does not actually 
enforce UTF-16.

QString is UTF-16. That's where it matters.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130908/3eee434c/attachment.sig>


More information about the Development mailing list