Skip to content

Commit 56e4691

Browse files
committed
ensure proper encoding when printing to debugger
1 parent a6265d8 commit 56e4691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bsnes/ui-qt/debugger/debugger.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ void Debugger::synchronize() {
305305

306306
void Debugger::echo(const char *message) {
307307
console->moveCursor(QTextCursor::End);
308-
console->insertHtml(message);
308+
console->insertHtml(QString::fromUtf8(message));
309309
}
310310

311311
void Debugger::clear() {

0 commit comments

Comments
 (0)