mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-31 18:26:20 -05:00
Merge pull request #1319 from keepassxreboot/hotfix/testcsvparser-encoding
Correct encoding ambiguity in CSV Parser unicode test
This commit is contained in:
commit
497eb3c587
@ -320,6 +320,7 @@ void TestCsvParser::testUnicode() {
|
|||||||
//ERROR QChar g("\u20AC");
|
//ERROR QChar g("\u20AC");
|
||||||
parser->setFieldSeparator(QChar('A'));
|
parser->setFieldSeparator(QChar('A'));
|
||||||
QTextStream out(file.data());
|
QTextStream out(file.data());
|
||||||
|
out.setCodec("UTF-8");
|
||||||
out << QString("€1A2śA\"3śAż\"Ażac");
|
out << QString("€1A2śA\"3śAż\"Ażac");
|
||||||
|
|
||||||
QVERIFY(parser->parse(file.data()));
|
QVERIFY(parser->parse(file.data()));
|
||||||
|
Loading…
Reference in New Issue
Block a user