summaryrefslogtreecommitdiffhomepage
path: root/csv/csv.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-06-08 09:47:36 +0000
committerGitHub <noreply@github.com>2021-06-08 09:47:36 +0000
commitfef1936f3c320ec026a0fdf65f103494385e15e3 (patch)
tree329dc2db6d92b4ffe1380456d64336994c10624e /csv/csv.cpp
parent6e31ccd0d01b1d693673f6ef9fb46f46fd934685 (diff)
parentba132b05f68bc83dd6212a8add925b52ef41b35a (diff)
Merge pull request #1286 from Ackurus/nixfixup
Nixfixup
Diffstat (limited to 'csv/csv.cpp')
-rw-r--r--csv/csv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/csv/csv.cpp b/csv/csv.cpp
index a1f62dc0..6b4d0bcd 100644
--- a/csv/csv.cpp
+++ b/csv/csv.cpp
@@ -19,7 +19,7 @@
#include <utility>
#include <algorithm>
-const QTextCodec* const CSV::m_codec = QTextCodec::codecForName("System");
+const QTextCodec* const CSV::m_codec = QTextCodec::codecForName("UTF-8");
const QRegExp CSV::m_rx = QRegExp(QString("((?:(?:[^;\\n]*;?)|(?:\"[^\"]*\";?))*)?\\n?"));
const QRegExp CSV::m_rx2 = QRegExp(QString("(?:\"([^\"]*)\";?)|(?:([^;]*);?)?"));