diff options
Diffstat (limited to 'tests/TestCsvParser.cpp')
-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())); |