Skip to content

Commit

Permalink
ensure proper encoding when printing to debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
devinacker committed Jun 21, 2018
1 parent a6265d8 commit 56e4691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bsnes/ui-qt/debugger/debugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ void Debugger::synchronize() {

void Debugger::echo(const char *message) {
console->moveCursor(QTextCursor::End);
console->insertHtml(message);
console->insertHtml(QString::fromUtf8(message));
}

void Debugger::clear() {
Expand Down

0 comments on commit 56e4691

Please sign in to comment.