- fix: Chinese characters in the source code is not correctly displayed in the CPU info window.

This commit is contained in:
Roy Qu 2023-03-09 16:09:05 +08:00
parent 3a0d3f684a
commit ac9d62ee5e
2 changed files with 4 additions and 2 deletions

View File

@ -17,6 +17,7 @@ Red Panda C++ Version 2.17
- enhancement: Shift+Up in the first line will expand selection to the beginning of the line.
- enhancement: Shift+Down in the last line will expand selection to the end of the line.
- enhancement: If no selection, Ctrl+C (Copy) auto selects the current line and put the cursor to the beginning.
- fix: Chinese characters in the source code is not correctly displayed in the CPU info window.
Red Panda C++ Version 2.16

View File

@ -1082,7 +1082,8 @@ void DebugReader::processConsoleOutput(const QByteArray& line)
p++;
}
}
mConsoleOutput.append(QString::fromLocal8Bit(stringValue));
//mConsoleOutput.append(QString::fromLocal8Bit(stringValue));
mConsoleOutput.append(QString::fromUtf8(stringValue));
}
}