http://bugs.winehq.org/show_bug.cgi?id=11281
--- Comment #5 from Michal Suchanek hramrach@centrum.cz 2008-02-26 13:02:24 --- I guess that won't help unless it's known how to do it. I know nobody who understands XIM. It's a wonder it even works.
The root of the problem in my view is that the input method runs in UTF-8 but the wine application in SJIS. Even plain X applications don't work like that.
The rest is only polishing rough edges.