Enable IME Kanji input.

This commit fixes #266.
Merge branch 'id/266'