UI: Always parse log contents for Log Viewer as UTF-8

This commit is contained in:
Matt Gajownik 2020-09-27 19:05:53 +10:00 committed by Jim
parent be7dcb8bf6
commit fff7d5b8d4

View File

@ -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();