Re: [Development] toLower() vs. toCaseFolded()

2015-12-09 Thread deDietrich Gabriel
On Dec 9, 2015, at 1:27 PM, Thiago Macieira mailto:thiago.macie...@intel.com>> wrote: For example, when title-casing in French, you drop accents ("école" becomes "Ecole"). This is off-topic but no, you don’t. Please, stop propagating this. This is a common mistake introduced mostly during the

Re: [Development] toLower() vs. toCaseFolded()

2015-12-09 Thread Thiago Macieira
On Wednesday 09 December 2015 22:56:48 Marc Mutz wrote: > 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

Re: [Development] toLower() vs. toCaseFolded()

2015-12-09 Thread Marc Mutz
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 toCaseFold

Re: [Development] toLower() vs. toCaseFolded()

2015-12-09 Thread Thiago Macieira
On Wednesday 09 December 2015 11:54:54 Marc Mutz wrote: > 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 pl

Re: [Development] toLower() vs. toCaseFolded()

2015-12-09 Thread Mathias Hasselmann
Am 09.12.2015 um 12:20 schrieb Marc Mutz: On Wednesday 09 December 2015 10:57:21 Florian Bruhin wrote: * Marc Mutz [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 so

Re: [Development] toLower() vs. toCaseFolded()

2015-12-09 Thread Florian Bruhin
* Marc Mutz [2015-12-09 12:20:36 +0100]: > On Wednesday 09 December 2015 10:57:21 Florian Bruhin wrote: > > * Marc Mutz [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

Re: [Development] toLower() vs. toCaseFolded()

2015-12-09 Thread Gian Maxera
Hello Marc, I think the answer is into this Wikipedia page: http://www.w3.org/International/wiki/Case_folding As you can notice, case folding in languages different from English can be more difficult than just lowering the characters. So, I sup

Re: [Development] toLower() vs. toCaseFolded()

2015-12-09 Thread Marc Mutz
On Wednesday 09 December 2015 10:57:21 Florian Bruhin wrote: > * Marc Mutz [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 t

Re: [Development] toLower() vs. toCaseFolded()

2015-12-09 Thread Florian Bruhin
* Marc Mutz [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 i

[Development] toLower() vs. toCaseFolded()

2015-12-09 Thread Marc Mutz
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/s