On X11 system, if your application is not Gtk/Qt, if it supports input method, it most likely uses XIM.