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

QByteArray "8 bit character comparison" documentation section is misleading

    XMLWordPrintable

Details

    • All
    • f5840944a6c29df162c5bdcaf488647f17877fab (qt/qtbase/5.13)

    Description

      If I get it correctly, all QByteArray functions operate on Latin-1 encodings.

      https://doc.qt.io/qt-5/qbytearray.html#8-bit-character-comparisons however states:

      the notion of uppercase and lowercase[...] character is locale dependent

      and to make the confusion perfect:

      (If $LC_CTYPE is set, most Unix systems do "the right thing".)

      I think this documenation should be changed to state that all these operations work for Latin1 encoding.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-76938
          # Subject Branch Project Status CR V

          Activity

            People

              aha_1980 André Hartmann
              aha_1980 André Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes