The future of Sonnet

Thiago Macieira thiago at
Tue Jan 2 20:30:25 GMT 2007

Jérôme Lodewyck wrote:
>Besides, is there a way to handle unicode characters that don't belong
> to the Basic Multilingual Plane (i.e with a number > 2^16) ?

QChar can't handle them, but the static functions and QString can.

    static Category QT_FASTCALL category(uint ucs4);
    static Category QT_FASTCALL category(ushort ucs2);

or these, which should never be used:
    static uint QT_FASTCALL toLower(uint ucs4);
    static ushort QT_FASTCALL toLower(ushort ucs2);
    static uint QT_FASTCALL toUpper(uint ucs4);
    static ushort QT_FASTCALL toUpper(ushort ucs2);

  Thiago Macieira  -  thiago (AT) - thiago (AT)
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the kde-core-devel mailing list