Scim is a input method engines.
http://www.scim-im.org/Scim works well with most other applications in my debian(sid) box.
But, why can't I use scim to input Chinese into Codeblocks?
I had to input Chinese in Mousepad(an editor in XFCE), copy it then paste to Codeblocks.
And my locale is zh_CN.utf8, the Codeblocks version is CB_20070406_rev3816_Ubuntu6.xx.deb.
BTW: In winxp, input method works well with Codeblocks.