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

qsTr("") doest not work with UTF-8 characters not in ASCII range

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 4.7.2
    • None
    • PC Ubuntu

    Description

      Specifying non-ASCII characters in UTF-8 to qsTr() does not provide the correct result when displaying. A black square appears instead of the character.

      This works:
      qsTr("G\xC3\xA9n\xC3\xA9rateur")
      This does not work:
      qsTr("Générateur")

      Attachments

        Issue Links

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

          Activity

            People

              brasser Michael Brasser (closed Nokia identity) (Inactive)
              agroyer Anthony Groyer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes