GNOME Bugzilla – Bug 129317
Backspace malfunctions on UTF-8 locale
Last modified: 2004-12-22 21:47:04 UTC
Steps to reproduce the problem: 1. Run either gnome-terminal or reflect-vte. 2. Execute "cat" under it 3. Type "j", "ó" (that is, U+00F3), Backspace, "d", Enter 4a. reflect-vte aborts with "UTF-8 validation error" 4b. gnome-terminal reproduces 'j',square,'d'. It seems that backspace removes the last byte instead of the last character.
This can't be fixed in the terminal widget alone. When you're piping text from the console into a file, the line-editing is handled by the kernel's line discipline code. This is known to not work properly for UTF-8 in earlier versions of Linux. Recent versions include a fix for UTF-8 specifically. Making CVS use IUTF8 when appropriate, if defined. This may take a while to show up, however, because the kernel headers most people have don't exactly track the installed kernel version.
It's not yet fixed properly, but since I have no permission to reopen other people's bug, continuing it as bug #158200.