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

QByteArray "8 bit character comparison" documentation section is misleading

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.13
    • None
    • All

    Description

      If I get it correctly, QByteArray functions operates on Latin1 encoded strings.

      https://doc.qt.io/qt-5/qbytearray.html#8-bit-character-comparisons however states, "the notion of uppercase and lowercase [...] is locale dependent" which would be incorrect then.

      It also states: "(If $LC_CTYPE is set, most Unix systems do "the right thing".)" which makes the confusion perfect.

      It seems this documentation is imported from Qt4 and may be incorrect for a long time now.

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              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