mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Fix multiple missing UTF-8 decoding.
(cherry picked from commit c69e0d16bc
)
This commit is contained in:
parent
9b149d5848
commit
6f81a8ee2c
12 changed files with 17 additions and 17 deletions
|
@ -659,7 +659,7 @@ const char *OS_JavaScript::get_audio_driver_name(int p_driver) const {
|
|||
// Clipboard
|
||||
void OS_JavaScript::update_clipboard_callback(const char *p_text) {
|
||||
// Only call set_clipboard from OS (sets local clipboard)
|
||||
get_singleton()->OS::set_clipboard(p_text);
|
||||
get_singleton()->OS::set_clipboard(String::utf8(p_text));
|
||||
}
|
||||
|
||||
void OS_JavaScript::set_clipboard(const String &p_text) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue