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

When QLocale formats numbers, it only uses localised digits for base ten

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • 6.x
    • 5.14.0
    • Core: Locales (i18n)

    Description

      The code in QLocale that serialises numbers uses locale-appropriate digits for base ten.
      However, these methods support any base from 2 through 36;
      for bases other than ten, they all use, as digits, some initial sub-set of of ASCII 0 through 9 then a through z.
      For bases up to ten, it could perfectly sensibly use locale-appropriate digits.
      For bases beyond ten, it's not clear what we should do; but switching to ASCII does not seem smart.

      On a related note, we should probably check whether there are any duodecimal locales …

      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
              Eddy Edward Welbourne
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes