[Development] toLower() vs. toCaseFolded()

Florian Bruhin me at the-compiler.org
Wed Dec 9 11:18:56 CET 2015


* Marc Mutz <marc.mutz at kdab.com> [2015-12-09 12:20:36 +0100]:
> On Wednesday 09 December 2015 10:57:21 Florian Bruhin wrote:
> > * 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?
> 
> Not really. Neither does it patch our docs... :)

I'm going to say it - the overhead a small doc contribution really
discourages me from doing so. I'm tired of waiting[1] for reviews,
having to ping people again, and then fighting with the CI (though
that part is getting better).

Florian

[1] https://codereview.qt-project.org/#/q/owner:%22Florian+Bruhin+%253Cqt-project.org%2540the-compiler.org%253E%22+status:open,n,z

-- 
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/1a8fb0ca/attachment.sig>


More information about the Development mailing list