Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0
-
None
-
0e0e74f23566de7ae408a2e7091001941508b694
Description
Port QString::localeAwareCompare to use CompareC system function which has better handling of locales.
Here is a proposed patch:
//Include header: #if defined( Q_OS_SYMBIAN ) #include <e32std.h> #endif //In localeAwareCompare_helper #if defined( Q_OS_SYMBIAN ) TPtrC data1Ptr((const TUint16*)data1); TPtrC data2Ptr((const TUint16*)data2); return data1Ptr.CompareC(data2Ptr); #endif