Enable the text input events of the sdl. Convert the input to wchar_t.