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

qlocale_win's toUpper/Lower is using LCMapString when the docs recommend LCMapStringEx

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.10.0 Beta2
    • Core: Locales (i18n)
    • None
    • Windows

      https://learn.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-lcmapstringw has this note:

      Note For interoperability reasons, the application should prefer the LCMapStringEx function to LCMapString because Microsoft is migrating toward the use of locale names instead of locale identifiers for new locales. This recommendation applies especially to custom locales, including those created by Microsoft. Any application that will be run only on Windows Vista and later should use LCMapStringEx.

      I don't think we still support Windows Vista?

      git-blame fingers https://codereview.qt-project.org/c/qt/qtbase/+/476728 CC ulherman

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

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

              Created:
              Updated:

                There is 1 open Gerrit change