[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: The future of Sonnet
From:       Thiago Macieira <thiago () kde ! org>
Date:       2007-01-02 20:30:25
Message-ID: 200701021830.31343.thiago () kde ! org
[Download RAW message or body]


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.

Example:
    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) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic