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

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

XMLWordPrintable

    • All

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes