After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 129317 - Backspace malfunctions on UTF-8 locale
Backspace malfunctions on UTF-8 locale
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
0.11.x
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
Nalin Dahyabhai
Depends on:
Blocks:
 
 
Reported: 2003-12-14 16:05 UTC by Paweł Sakowski
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Paweł Sakowski 2003-12-14 16:05:38 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.
Comment 1 Nalin Dahyabhai 2004-04-20 05:49:51 UTC
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.
Comment 2 Egmont Koblinger 2004-11-13 18:39:12 UTC
It's not yet fixed properly, but since I have no permission to reopen other
people's bug, continuing it as bug #158200.