[Interest] QChar can't handle 1:N case conversion?

Thiago Macieira thiago.macieira at intel.com
Fri Jul 27 10:27:06 CEST 2012


On sexta-feira, 27 de julho de 2012 05.53.24, Nikos Chantziaras wrote:
> Normally, Unicode defines conversions for things like "ß" (U+00DF,
> German sharp S) to "SS".  How can I do that with QChar?  The
> toCaseFolded() and toLower() member functions return a single QChar,
> while mappings like "ß" -> "SS" would need two QChars to get the result.
> 
> How's this supposed to work?

Use QString.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- 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/interest/attachments/20120727/1751bf08/attachment.sig>


More information about the Interest mailing list