UI: Always parse log contents for Log Viewer as UTF-8
This commit is contained in:
parent
be7dcb8bf6
commit
fff7d5b8d4
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user