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

QByteArray is ascii only in Qt 6

    XMLWordPrintable

Details

    • 13
    • Qt6_Foundation_ Sprint 10
    • 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

            Eddy Edward Welbourne
            laknoll Lars Knoll
            Maurice Kalinowski Maurice Kalinowski
            Alex Blasche 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