Backspace doesn't remove utf-8 multibyte characters

Bug #1304534 reported by Anton Statutov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bash (Ubuntu)
New
Undecided
Unassigned
terminal (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

In Ubuntu 13.10 backspace in terminal only deletes one byte of multibyte character.

For example:

# cat > /tmp/test
tы<backspace>t

# cat /tmp/test
t�t

# hexdump -C /tmp/test
74 d1 74 0a

Where 'ы' is a russian letter (D18B in hexadecimal form). You may see that only second byte of multibyte character was deleted by backspace.

I saw similar problem for ssh, but it's not the case. Here I'm not using ssh, just normal Terminal session.

affects: nautilus (Ubuntu) → terminal (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in terminal (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.