diff options
author | Jonathan White <support@dmapps.us> | 2017-12-25 19:10:30 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2017-12-25 19:10:30 +0300 |
commit | d217da421f9b60e81c37572d7f7f07f52a324a65 (patch) | |
tree | 1f4dea52e0cd114fefeb94ba78b0ccac15c591a7 /tests | |
parent | d7a83f1b83f0780599053d0687f5823ae5686a67 (diff) |
Correct test failures in mingw
Diffstat (limited to 'tests')
-rw-r--r-- | tests/TestCsvParser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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())); |