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

QByteArray is ascii only in Qt 6

    XMLWordPrintable

    Details

    • Type: User Story
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.0 (Next Major Release)
    • Fix Version/s: 6.0.0
    • Labels:
      None
    • Epic Link:
    • Story Points:
      13
    • Sprint:
      Qt6_Foundation_ Sprint 10
    • Commits:
      9dd8e655cdd26eeaae30645b7fe013d9a696547f

      Description

      QByteArray should not have any connection to Latin1 encodings anymore in Qt 6. This is due to the fact that UTF-8 should be the main 8bit encoding we support in Qt6, and conversions to/from QString already assume that. Handling 8bit data as latin1 is inconsistent with that.

      All methods that implicitly assume latin1 need to be changed.

      Especially: toLower(), toUpper() and friends need to only handle the ASCII range in Qt 6.

        Attachments

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

          Activity

            People

            Assignee:
            Eddy Edward Welbourne
            Reporter:
            laknoll Lars Knoll
            PM Owner:
            Maurice Kalinowski
            RnD Owner:
            Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes