[Development] toLower() vs. toCaseFolded()

Marc Mutz marc.mutz at kdab.com
Wed Dec 9 11:54:54 CET 2015


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?

Preferably answer by updating the docs to be a bit more descriptive.

Thanks,
Marc

-- 
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - The Qt Experts



More information about the Development mailing list