#include #include #include #include int main() { setlocale( LC_COLLATE, "de_DE.UTF-8" ); QString string1( "b.b" ); QString string2( "ba" ); cout << "string1 : '" << string1.lower() << "'" << endl; cout << "string2 : '" << string2.lower() << "'" << endl; cout << "result of string1.lower().localeAwareCompare(string2.lower() ) : " << string1.lower().localeAwareCompare( string2.lower() ) << endl; cout << "result of string1.lower().compare(string2.lower() ) : " << string1.lower().compare( string2.lower() ) << endl; }