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

qsTr("€3 suggested"); display "weird" character instead of '€'

    XMLWordPrintable

Details

    Description

      qsTr maps to QObject::tr, which expects latin1 and € is not in latin1.
      Using qsTranslate does not work better.

      What we tried was both qsTranslate("MyClass", "3€", "disamb", "UnicodeUTF8") and qsTranslate("MyClass", "3\u20AC", "disamb", "UnicodeUTF8") then. (qml expects a string).

      There might be a reason why they don't have qsTrUtf8, no idea though what exactly.

      None of my QML bugreports were answered, so ... hope dies last...

      Attachments

        1. screenshot.png
          7 kB
          Thorbjørn Lindeijer (closed Nokia identity)

        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)
              lpapp Laszlo Papp
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes