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

Constantin Makshin cmakshin at gmail.com
Fri Jul 27 07:44:16 CEST 2012


You can use QMap<QChar, QString>. I don't think these conversions are
[very] common in various languages, so there shouldn't be any problems with
manual creation of this conversion map.
On Jul 27, 2012 6:53 AM, "Nikos Chantziaras" <realnc at gmail.com> 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?
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120727/430e567b/attachment.html>


More information about the Interest mailing list