[Development] toLower() vs. toCaseFolded()

Florian Bruhin me at the-compiler.org
Wed Dec 9 10:57:21 CET 2015


* Marc Mutz <marc.mutz at kdab.com> [2015-12-09 11:54:54 +0100]:
> Hi,
> 
> http://doc.qt.io/qt-5/qstring.html#toCaseFolded is very vague on what case 
> folding actually _is_ and how it's different from toLower().
> 
> Can someone please tell me the difference and why toCaseFolded() exists in the 
> first place? Is it faster? Is it guaranteed to not make the string 
> longer/shorter?

Maybe http://www.w3.org/International/wiki/Case_folding helps?

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.qt-project.org/pipermail/development/attachments/20151209/1b433b2d/attachment.sig>


More information about the Development mailing list