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

[REG 5.2 -> 5.3] : QString::fromUtf8 fails to remove BOM

    XMLWordPrintable

    Details

      Description

      The attached file generates the following error when running with qmlscene using 5.3/stable:

      TestBOM.qml:1 Expected token `numeric literal'
      TestBOM.qml:1 Expected a qualified name id
      

      This file works correctly with earlier versions of Qt.

        Attachments

        1. autotest_patch.txt
          2 kB
        2. main.cpp
          1 kB
        3. TestBOM.qml
          0.0 kB

          Issue Links

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

            Activity

              People

              Assignee:
              thiago Thiago Macieira
              Reporter:
              mbrasser Michael Brasser
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes