Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/TestCsvParser.cpp')
-rw-r--r--tests/TestCsvParser.cpp1
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()));