SDL_TextInputEvent: Note that `text` field is UTF-8 encoded.

Reference Issue https://github.com/libsdl-org/sdlwiki/issues/516
This commit is contained in:
Ryan C. Gordon 2024-04-24 11:18:06 -04:00
parent b98116a996
commit 4a11809370
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ typedef struct SDL_TextInputEvent
Uint32 reserved;
Uint64 timestamp; /**< In nanoseconds, populated using SDL_GetTicksNS() */
SDL_WindowID windowID; /**< The window with keyboard focus, if any */
char *text; /**< The input text */
char *text; /**< The input text, UTF-8 encoded! */
} SDL_TextInputEvent;
/**