"Locales and Internationalized Text Functions"
describes internationalized text input facilities,
but sometimes it is expedient to write an application that
only deals with Latin-1 characters and ASCII controls,
so Xlib provides a simple function for that purpose.
XLookupString()
handles the standard modifier semantics described in "Keyboard Encoding".
This function does not use any of the input method facilities
described in "Locales and Internationalized Text Functions" and does not depend on the current locale.
To map a key event to an ISO Latin-1 string, use
XLookupString().