Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
4.8.4
-
None
-
QNX 6.5 x86
Description
Please check the attached example, it sorts russian words in alphabetical order using QSortFilterProxyModel and setSortLocaleAware(), but "ЁЖИК" appears as the first item. This is not correct.
Setting different _CS_LOCALE gives different results, but any of them is correct.
QNX is probably using IEC_8859-5 http://developer.blackberry.com/native/reference/bb10/com.qnx.doc.dinkum/topic/cpp/localedefs.html for Russian and not utf or ru_RU.KOI8-R what is used by Qt.
The source encoding has been changed to 8859-5 and used QString::fromLocal8Bit to load it, but still "ЁЖИК" appears at the first place.
The order follows the numerical order of codes http://en.wikipedia.org/wiki/ISO/IEC_8859-5 and not the correct order.