mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-01 15:49:51 +08:00
UI: Always parse log contents for Log Viewer as UTF-8
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user