Cannot enter Thai Character in TkEntry


I am trying to input a Thai character into TkEntry but failed when I enter english
characters it was OK but when I switched to Thai Keyboard using ~ I got stuck no
single Thai character can be put in, the cursor did not move only when I switched
back to english character then I can enter english character.

Can anybody help me, please?