Terry J. Reedy added the comment:
I am closing this because I am rather sure that your problem is with your input
method and its interaction with your OS and the tcl/tk GUI framework. Tkinter
has essentially nothing to do with key and mouse input.
A better place to ask for debugging help is
New submission from Xuan Wu :
When creating a text editor with tkinter Text widget, I found that some Chinese
punctuations cound't be input correctly.
When input "(", which is open parenthesis in Chinese, it behaves like a back
space.
When input ")", close parenthesis in Chinese, it seems like