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

QLocale: numbers output with wrong code points when using Suzhou numerals

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P3: Somewhat important
    • Resolution: Done
    • 5.12.5
    • 6.x
    • Core: Locales (i18n)
    • None
    • Windows
    • 3
    • d8538163075a2058f110bc77e7d481ef1ab7612c (qt/qtbase/dev)
    • Qt6_Foundation_ Sprint 13

    Description

      System is configured to use Suzhou numerals as custom standard digits.

      QLocale::system().toString(50) generates the following codepoints

      U+300C U+3007

      The correct sequency would be

      U+3025 U+3007

      (see also https://en.wikipedia.org/wiki/Suzhou_numerals)

       

      The problem seems to be, that the digits for 0-9 are not consecutive starting at U+3007.

      Instead 1-9 are located starting at U+3021.

      Attachments

        Issue Links

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

          Activity

            People

              Eddy Edward Welbourne
              mfauster Markus Fauster
              Maurice Kalinowski Maurice Kalinowski
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes