I've never used an IME,
but if this is what you're talking about, you don't need to do anything special in your perl program,
but you do need to have a unicode capable version of Tk (Tk-804.027 ought to do).
MJDsays "you can't just make shit up and expect the computer to know what you mean, retardo!"