[Development] toLower() vs. toCaseFolded()

Marc Mutz marc.mutz at kdab.com
Wed Dec 9 22:56:48 CET 2015


On Wednesday 09 December 2015 11:54:54 Marc Mutz wrote:
> 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?

To be more precise: I'd like the docs to say when I should use toCaseFolded() 
or toLower(). Since the Unicode docs linked say toCaseFolded() is locale-
dependent, as an API user I'd also wonder which locale the QString function 
uses.

-- 
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