### Godot version

v4.0.3.stable.official [5222a99f5]

### System information

windows 10 v4.0.3.stable.official [5222a99f5] - Compatibility

### Issue description

When renaming a node, Microsoft Pinyin input method cannot be switched to Chinese.
But nodes can actually be named in Chinese. We can only do this by copying strings from Notepad and pasting them into the renamed text box.
(It's worth noting that I used Shift to switch between Microsoft Pinyin and English.)

### Steps to reproduce

Rename a node

### Minimal reproduction project

none
ERR_FAIL_COND_V_MSG(!tts, TypedArray<Dictionary>(), "Enable the \"audio/general/text_to_speech\" project setting to use text-to-speech.");
	return tts->get_voices();
}
void DisplayServerWindows::tts_speak(const String &p_text, const String &p_voice, int p_volume, float p_pitch, float p_rate, int p_utterance_id, bool p_interrupt) {
	ERR_FAIL_COND_MSG(!tts, "Enable the \"audio/general/text_to_speech\" project setting to use text-to-speech.");
	tts->speak(p_text, p_voice, p_volume, p_pitch, p_rate, p_utterance_id, p_interrupt);
}
void DisplayServerWindows::tts_pause() {
	ERR_FAIL_COND_MSG(!tts, "Enable the \"audio/general/text_to_speech\" project setting to use text-to-speech.");
	tts->pause();
}
void DisplayServerWindows::tts_resume() {
	ERR_FAIL_COND_MSG(!tts, "Enable the \"audio/general/text_to_speech\" project setting to use text-to-speech.");
	tts->resume();
}
void DisplayServerWindows::tts_stop() {
	ERR_FAIL_COND_MSG(!tts, "Enable the \"audio/general/text_to_speech\" project setting to use text-to-speech.");
	tts->stop();
}
void DisplayServerWindows::mouse_set_mode(MouseMode p_mode) {
	_THREAD_SAFE_METHOD_
	if (mouse_mode == p_mode) {
		
		return;
	}
	mouse_mode = p_mode;
	_set_mouse_mode_impl(p_mode);
}
DisplayServer::MouseMode DisplayServerWindows::mouse_get_mode() const {