Reference

XLocaleOfIM(3x) on Linux

The text f7e44e8ca45d, as Debian 1.2 (Rex) shipped it.

open, close, and otain input method information

XLocaleOfIM(3x) on Linux now