Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-138705

Windows backend of QLocale::toLower() does not implement Greek Final Sigma rule

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.10.0 Beta2
    • Core: Locales (i18n)
    • None
    • Windows

    Description

      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.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-138705
          # Subject Branch Project Status CR V

          Activity

            People

              Eddy Edward Welbourne
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change