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

Translated message is not found if original message contains non ASCII symbols.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 4.6.3
    • Translations (l10n)
    • None

    Description

      I have some messages with celsius degree symbol, like this tr("message °C"). All sources are in UTF8, pro-file contains CODECFORTR=UTF-8 and QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8")) is called. I run lupdate and setup translation for message, but in programm "message °C" still be in english. If i write tr("message \302\260C"), the behavior is same.
      If i change tr("message °C") to tr("message \u00b0C"), but not run lupdate and lrelease (qm-file from ts with tr("message °C")), the message in program is translated, but if i don't load qm-file, original english message is show with garbage.

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            pete Petr Krasnoshchekov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes