-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.10.0 Beta2
-
-
6ccd5ed34 (dev), fd59fc989 (6.10), 7acfeca88 (6.9), 20369834b (tqtc/lts-6.8), 25dc1a325 (tqtc/lts-6.5)
While adding a test for toLower() handling of Greek Final Sigma (see https://en.wikipedia.org/wiki/Sigma), I noticed that QString::toLower() doesn't handle it (very long-standing bug QTBUG-2163), but the Windows backend of QLocale::toLower() also doesn't. See https://codereview.qt-project.org/c/qt/qtbase/+/663457 for the failing test (earlier versions; I'll update the test with a QEXPECT_FAIL pointing to this bug report after filing this).
It's hard to believe that the world's most-used OS gets this wrong in a non-ignorable locale like Greek, so we should rule out that it's us doing something wrong (locale not installed on the CI, wrong function used (cf. QTBUG-138629), ...).
The litmus test is: Lower-casing "ΛΟΓΟΣ" should produce "λογος", not "λογοσ". If a non-Qt application gets this correct, then that's a strong indication that it's Qt's fault it doesn't work in QLocale.
- relates to
-
QTBUG-138629 qlocale_win's toUpper/Lower is using LCMapString when the docs recommend LCMapStringEx
-
- Reported
-
-
QTBUG-2163 Support for conditions in special casing of unicode characters is missing in Qt
-
- In Progress
-
For Gerrit Dashboard: QTBUG-138705 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
663457,4 | tst_QLocale: add a test for Greek final sigma rule | dev | qt/qtbase | Status: MERGED | +2 | +1 |
664094,2 | tst_QLocale: add a test for Greek final sigma rule | 6.10 | qt/qtbase | Status: MERGED | +2 | 0 |
664154,2 | tst_QLocale: add a test for Greek final sigma rule | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
664356,6 | tst_QLocale: add a test for Greek final sigma rule | tqtc/lts-6.8 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
671436,2 | tst_QLocale: add a test for Greek final sigma rule | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |