From d217da421f9b60e81c37572d7f7f07f52a324a65 Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Mon, 25 Dec 2017 11:10:30 -0500 Subject: [PATCH] Correct test failures in mingw --- tests/TestCsvParser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/TestCsvParser.cpp b/tests/TestCsvParser.cpp index a292b56bb..705ef48c3 100644 --- a/tests/TestCsvParser.cpp +++ b/tests/TestCsvParser.cpp @@ -320,6 +320,7 @@ void TestCsvParser::testUnicode() { //ERROR QChar g("\u20AC"); parser->setFieldSeparator(QChar('A')); QTextStream out(file.data()); + out.setCodec("UTF-8"); out << QString("€1A2śA\"3śAż\"Ażac"); QVERIFY(parser->parse(file.data()));