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

Extra Surrogate Character Printed On Certain Unicode Characters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.7.4
    • None
    • Mac OSX 10.6.8

    Description

      I'm using a flashcard program that utilizes QtWebKit to display the cards (Anki). I've imported a 100 sign cuneiform (in unicode 0x12000 - 0x1236E) set of flashcards. While the cuneiform symbols are displayed correctly throughout the system (chrome browser, safari browser(webkit), textedit, etc) an extra "Surrogate Character" is printed only when the character is displayed by qtwebkit. To verify that the issue was with qtwebkit, I used Qt Creator to run the example webkit project and was able to reproduce the results. Attached is a screenshot of the Qt Creator test.

      Another note, this issue seems to show up only on Mac (maybe linux) but not on Windows. When I try to display the character with qtwebkit on a Windows 7 machine, the surrogate character does not display (meaning it works as expected).

      These tests were with the latest Qt Creator and qtwebkit (4.7.x)

      Steps to reproduce:
      Display the following HTML using QtWebKit
      <html><head></head><body><h1>Cuneiform Test for &#x12000;</h1><div><span style="font-family: Assurbanipal; font-size: 64px;">𒀀</span></div><hr><div>A</div> </body></html>

      Attachments

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

        Activity

          People

            ritt.ks Konstantin Ritt
            daved314 David DeLauro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes