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

macOS regression: emojis from JSON are broken when mixed with cyrillic

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 5.8.0
    • None
    • macOS 10.11/10.12, Xcode 7/8, QtCreator 4.2.1

    Description

      If a JSON string contains emojis mixed with cyrillic letters, then in most cases emojis aren't displayed correctly after parsing JSON with QJsonDocument. In Qt 5.6.2 it doesn't happen.

      The issue can be reproduced in the attached test project.

      Edit: I've just found out that it's impossible to enter emojis in QtCreator 4.2.1 using Cmd+Ctrl+Space (seems related), and that pasting content of JSON file from the test project directly in QtCreator 4.2.1 results in the same broken emojis in strings with cyrillic:

      Running the test project with strings directly in code produces the same results as with reading from JSON. More looks like a rendering bug.

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              kambala Andrey Filipenkov
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes