Merge pull request #110544 from troybonneau/master
Web: Fix clipboard text encoding in `update_clipboard_callback`
This commit is contained in:
commit
886e8142b6
1 changed files with 1 additions and 1 deletions
|
|
@ -1004,7 +1004,7 @@ Vector<String> DisplayServerWeb::get_rendering_drivers_func() {
|
|||
|
||||
// Clipboard
|
||||
void DisplayServerWeb::update_clipboard_callback(const char *p_text) {
|
||||
String text = p_text;
|
||||
String text = String::utf8(p_text);
|
||||
|
||||
#ifdef PROXY_TO_PTHREAD_ENABLED
|
||||
if (!Thread::is_main_thread()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue