Comment 17 for bug 394570

Revision history for this message
AZaharia (f0rg3r) wrote : Re: Backspace via SSH only deletes last byte of characters

Hello Chuck,

I'm sorry for having taken so long to answer.

Here's the status: I re-tested this issue on two Ubuntu 9.10 machines. It's the same as in the original description (even after setting the locales to a particular language).

UTF-8 characters that are encoded on more than 1 byte are not fully deleted when pressing the backspace key, under SSH; only the last byte is deleted.

For instance, some Chinese/Japanese (?) characters are encoded on 3 bytes. Here is an example: "構" should be encoded as "e6 a7 8b". When you type and then delete this character via SSH, the file still contains the first 2 bytes of this character (i.e. "e6 a7").