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

toLocale{Upper,Lower}Case() string methods ignore locale arguments

    XMLWordPrintable

Details

    • All

    Description

      Qt's implementations of locale-aware case conversion functions seem to call to{Upper,Lower}Case discarding any locale information. It would be good to have functions that actually work.

      For example:

      "i".toLocaleUpperCase("TR") // or maybe "tr-TR" or "tr_TR"
      

      Should return "İ" (with dot). It returns "I" (without dot).

      See ECMA 262 for the specification of String.toLocale(Upp|Low)erCase() and ECMA 402 for the specification of what its arguments should mean when passed.

      Attachments

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              ievgenii.meshcheriakov Ievgenii Meshcheriakov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes