SDL_EnableUNICODE
NAME SYNOPSIS DESCRIPTION RETURN VALUE SEE ALSO
SDL_EnableUNICODE- Enable UNICODE translation
#include
int SDL_EnableUNICODE(int enable);
Enables/Disables UNICODE keyboard translation.
If you wish to translate a keysym to it's printable representation, you need to enable UNICODE translation using this function (enable=0) and then look in the unicode member of the SDL_keysym structure. This value will be zero for keysyms that do not have a printable representation. UNICODE translation is disabled by default as the conversion can cause a slight overhead.
Returns the previous translation mode.
SDL_keysym
One page links to SDL_EnableUNICODE(3):