Fcitx to input Chinese in Emacs
This should only be used in some case, including emacs and java. Emacs has ahistorical bug, that under en_US.UTF-8 or similar locale, it will never use XIM (Though emacs is a gtk app, it use XIM). The only way to walkaround this is to use LC_CTYPE to fix this.
This was one of most obnoxious problems. With installation of my favorite Sougou(搜狗) IME, I can input Chinese ...