More fixes for non-Latin1 characters in external tools.

Now also for Qt4 based Windows builds.

Task-number: QTCREATORBUG-8603
Change-Id: I2f4ccfe85450f272146cc641023b9232f3514836
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
Eike Ziller
2013-03-05 11:37:36 +01:00
parent 2e44967997
commit bf3aa9bf06

View File

@@ -319,7 +319,8 @@ static void localizedText(const QStringList &locales, QXmlStreamReader *reader,
} else {
if (*currentLocale < 0 && currentText->isEmpty()) {
*currentText = QCoreApplication::translate("Core::Internal::ExternalTool",
reader->readElementText().toUtf8().constData());
reader->readElementText().toUtf8().constData(),
"", QCoreApplication::UnicodeUTF8);
} else {
reader->skipCurrentElement();
}