From fff7d5b8d4d3211f96d3110b7be3bcca5cb9627e Mon Sep 17 00:00:00 2001 From: Matt Gajownik Date: Sun, 27 Sep 2020 19:05:53 +1000 Subject: [PATCH] UI: Always parse log contents for Log Viewer as UTF-8 --- UI/log-viewer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/UI/log-viewer.cpp b/UI/log-viewer.cpp index b1e2bf535..837d6a971 100644 --- a/UI/log-viewer.cpp +++ b/UI/log-viewer.cpp @@ -101,6 +101,7 @@ void OBSLogViewer::InitLog() if (file.open(QIODevice::ReadOnly)) { QTextStream in(&file); + in.setCodec("UTF-8"); while (!in.atEnd()) { QString line = in.readLine();