3

Python: Quirky behavior on backspace of Chinese input

view full story
linux-howto

http://www.linuxquestions.org – Code: #!/usr/bin/env python # coding=utf-8-sig while True:         reply = raw_input(': ')         print reply If I input Chinese text, then hit 'backspace', it takes 2 or 3 stricks of the 'backspace' key to delete the character. It is as if it is deleting 1/2 or 1/3 of the character each time the backspace key is hit. In GNOME terminal. (HowTos)