summaryrefslogtreecommitdiff
path: root/core/debugger
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2021-11-08 23:42:32 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2021-11-08 23:45:08 +0200
commitba9d737363955cefe36d7d2418c2520a94d5cfe8 (patch)
tree3dece4eb81a528802bf5ddb6dd10e41ecb95f3da /core/debugger
parent38c698c4854bd42de1e88c61652ae09ec62bdd87 (diff)
Fix incorrect encoding (Latin-1 instead of UTF-8) used in `_error_handler` functions.
Diffstat (limited to 'core/debugger')
-rw-r--r--core/debugger/remote_debugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/debugger/remote_debugger.cpp b/core/debugger/remote_debugger.cpp
index 4607bd2f3f..87e65e592a 100644
--- a/core/debugger/remote_debugger.cpp
+++ b/core/debugger/remote_debugger.cpp
@@ -475,7 +475,7 @@ void RemoteDebugger::_err_handler(void *p_this, const char *p_func, const char *
}
// send_error will lock internally.
- rd->script_debugger->send_error(p_func, p_file, p_line, p_err, p_descr, p_editor_notify, p_type, si);
+ rd->script_debugger->send_error(String::utf8(p_func), String::utf8(p_file), p_line, String::utf8(p_err), String::utf8(p_descr), p_editor_notify, p_type, si);
}
void RemoteDebugger::_print_handler(void *p_this, const String &p_string, bool p_error) {