From 398dd7e250b03cfa1d0ae730d96d91f38bfa4a5e Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Mon, 27 May 2019 08:04:57 +0200 Subject: [PATCH] Use QString::fromUtf8 as asked by Albert "QStringliteral is broken on windows with non ascii chars" --- autotests/parttest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autotests/parttest.cpp b/autotests/parttest.cpp index b4bca789b..6145cee88 100644 --- a/autotests/parttest.cpp +++ b/autotests/parttest.cpp @@ -255,7 +255,8 @@ void PartTest::testForwardPDF_data() QTest::addColumn("dir"); QTest::newRow("non-utf8") << QStringLiteral("synctextest"); - QTest::newRow("utf8") << QStringLiteral("ßðđđŋßðđŋ"); + //QStringliteral is broken on windows with non ascii chars so using QString::fromUtf8 + QTest::newRow("utf8") << QString::fromUtf8("ßðđđŋßðđŋ"); } void PartTest::testGeneratorPreferences()