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

upper/lowercase of non BMP characters on non ICU platforms fail

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.10
    • None
    • macOS, Windows

    Description

      Following the improvements on QTBUG-112898 to handle lowercasing and uppercasing on Windows/MacOS without ICU, the tests for non-BMP characters fail using the OS API:

      FAIL!  : tst_QLocale::toLowerUpper(non-BMP default locale) Compared values are not the same
         Actual   (locale.toLower(upper)): "\u10C80"
         Expected (lower)                : "\u10CC0"
         Loc: [/Users/qt/work/qt/qtbase/tests/auto/corelib/text/qlocale/tst_qlocale.cpp(4734)]
      FAIL!  : tst_QLocale::toLowerUpper(non-BMP Turkish) Compared values are not the same
         Actual   (locale.toLower(upper)): "\u10C80"
         Expected (lower)                : "\u10CC0"
         Loc: [/Users/qt/work/qt/qtbase/tests/auto/corelib/text/qlocale/tst_qlocale.cpp(4734)]
      FAIL!  : tst_QLocale::toLowerUpper(non-BMP German) Compared values are not the same
         Actual   (locale.toLower(upper)): "\u10C80"
         Expected (lower)                : "\u10CC0"
      

      This bug is here to track the expected failure until there is a fix.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            be__good jo jo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes