Re: [Development] Utf8 local aware compare

2014-09-11 Thread Thiago Macieira
On Thursday 11 September 2014 12:53:45 Bubke Marco wrote: > What about icu::Collator::compareUTF8() in ICU? We can't use ICU's C++ API, since they don't promise stability. And we don't use ICU collation on all platforms. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect

Re: [Development] Utf8 local aware compare

2014-09-11 Thread Bubke Marco
akters are precomposed you can do it. From: Knoll Lars Sent: Thursday, September 11, 2014 2:09 PM To: Bubke Marco; development@qt-project.org Subject: Re: [Development] Utf8 local aware compare Hi Marco, On 11/09/14 13:23, "Bubke Marco" wrote: &

Re: [Development] Utf8 local aware compare

2014-09-11 Thread Knoll Lars
Hi Marco, On 11/09/14 13:23, "Bubke Marco" wrote: >Okay, first the context. I want to write locale aware compare collations >for a local database which is saving the text in UTF-8. So converting the >text always with QString::fromUtf8 is a little bit expensive. Under Unix >strcoll would work but

[Development] Utf8 local aware compare

2014-09-11 Thread Bubke Marco
Hi Okay, first the context. I want to write locale aware compare collations for a local database which is saving the text in UTF-8. So converting the text always with QString::fromUtf8 is a little bit expensive. Under Unix strcoll would work but for windows there is no UTF-8 collation. One ide