diff --git a/tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp b/tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp index 8a60bb1876..4442094541 100644 --- a/tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp +++ b/tests/auto/corelib/xml/qxmlstream/tst_qxmlstream.cpp @@ -1252,7 +1252,7 @@ void tst_QXmlStream::writeWithCodec() const QVERIFY(codec); writer.setCodec(codec); - const char *latin2 = "hé hé"; + const char *latin2 = "h\xe9 h\xe9"; const QString string = codec->toUnicode(latin2); diff --git a/tests/manual/keypadnavigation/main.cpp b/tests/manual/keypadnavigation/main.cpp index 964d46faf6..ad53c9f655 100644 --- a/tests/manual/keypadnavigation/main.cpp +++ b/tests/manual/keypadnavigation/main.cpp @@ -142,7 +142,7 @@ protected slots: QFontDialog::getFont(0, this); break; case DialogQuestion: - QMessageBox::question(this, QLatin1String("question"), QLatin1String("¿Hola, que tal?")); + QMessageBox::question(this, QLatin1String("question"), QLatin1String("\xbfHola, que tal?")); break; case DialogAboutQt: QMessageBox::aboutQt(this);