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

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

XMLWordPrintable

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

      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")

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes