SDL_inputmethod is a library for SDL to make it possible to create
applications that accept input from Input Method on your platform.
For instance, programmers can get input from Input Methods such as
MS-IME on Windows and XIM on Linux on your SDL application.
SDL can accept input from keyboard, however, if you try to accept input in languages
other than English, you need some kinds of processes called "composing." It is possible to
implement composing engines for every language you want to support by your application,
but it is really painful to do.
SDL_inputmethod gives you one of ways to accept input in your language by comminicating with
Input Methods on platforms that you are using, and that also gains portability of your code
since SDL_inputmethod supports more than one platform.
For Unix / Linux / Mac OS X ( if you are using X ):