Browse Source

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

Matt Gajownik 5 years ago
parent
commit
fff7d5b8d4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      UI/log-viewer.cpp

+ 1 - 0
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();