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

QByteArray "8 bit character comparison" documentation section is misleading

XMLWordPrintable

    • All
    • f5840944a6c29df162c5bdcaf488647f17877fab (qt/qtbase/5.13)

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes