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

Bo Thorsen bo at fioniasoftware.dk
Fri Jul 27 09:12:05 CEST 2012

Den 27-07-2012 07:44, Constantin Makshin skrev:
> 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.

Sounds like a good candidate for a patch to Qt, if this is done.


> On Jul 27, 2012 6:53 AM, "Nikos Chantziaras" <realnc at gmail.com
> <mailto: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 <mailto:Interest at qt-project.org>
>     http://lists.qt-project.org/mailman/listinfo/interest
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

Bo Thorsen,
Fionia Software.


Expert Qt and C++ developer for hire
Contact me if you need expert Qt help

More information about the Interest mailing list