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

Update documentation of QTextCodec::codecForUtfText

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.0 RC
    • 5.10
    • Core: Other
    • None
    • 66a2d159073bfbeec53a0b9e09575c3fe9beac8d (qt/qtbase/5.12)

    Description

      There is no information in the documentation which QTextCodec::codecForUtfText. It can in fact detect UTF16 and UTF32 in LE and BE and also UTF8.

      With the history and wrong documentation in QTextStream::*autoDetectUnicode not explicitly saying that it can detect UTF8, it is a bit confusing and without looking at the source impossible to know.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            jvehlow jvehlow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes