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

QML uses qPrintable() instead of qUtf8Printable() to display errors

    XMLWordPrintable

    Details

    • Platform/s:
      Windows

      Description

      qqmlengine.cpp dumpwarning() uses qPrintable, which contains toLocal8Bit() inside, but QDebug operator<< calls QString::fromUtf8() to convert it back to QString, so it loses some characters like °, and we see � instead. Docs (https://doc.qt.io/qt-5/qtglobal.html#qPrintable) have a note about that.

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            roman.yushkov Roman Yushkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes