I want to compare two latin qstring
like that:
compare("â","e",locale(a certain country)) return ( e > â in latin character)
thank a lot
sorry for my stupid english . I can't express my thoughts clearly
I want to compare two latin qstring
like that:
compare("â","e",locale(a certain country)) return ( e > â in latin character)
thank a lot
sorry for my stupid english . I can't express my thoughts clearly
Last edited by narutokage; 13th August 2011 at 16:11.
In the ISO 8859-1 (Latin 1) character set ('e' > 'â') is false. Are you saying that you want à , á, â, ã, ä, and å to be treated as if they were 'a' for comparison ?
narutokage (16th August 2011)
thank for reply !!
but. I want to make a international dictionary. I use binary search and It need:
Performing Locale-Independent Comparisons (in java)
http://download.oracle.com/javase/tu...xt/locale.html
this feature is so great. You can apply to many algorithms (sort,search.....)
so what is like that in QT ?
Last edited by narutokage; 16th August 2011 at 07:01.
Is QString::localeAwareCompare() what you are looking for?
narutokage (16th August 2011)
Bookmarks