mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Fix multiple missing UTF-8 decoding.
This commit is contained in:
parent
1f0dc02649
commit
c69e0d16bc
13 changed files with 22 additions and 22 deletions
|
@ -500,7 +500,7 @@ void DisplayServerJavaScript::vk_input_text_callback(const char *p_text, int p_c
|
|||
return;
|
||||
}
|
||||
// Call input_text
|
||||
Variant event = String(p_text);
|
||||
Variant event = String::utf8(p_text);
|
||||
Variant *eventp = &event;
|
||||
Variant ret;
|
||||
Callable::CallError ce;
|
||||
|
@ -590,7 +590,7 @@ Vector<String> DisplayServerJavaScript::get_rendering_drivers_func() {
|
|||
|
||||
// Clipboard
|
||||
void DisplayServerJavaScript::update_clipboard_callback(const char *p_text) {
|
||||
get_singleton()->clipboard = p_text;
|
||||
get_singleton()->clipboard = String::utf8(p_text);
|
||||
}
|
||||
|
||||
void DisplayServerJavaScript::clipboard_set(const String &p_text) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue