** Description changed:

- gnome-terminal count bytes instead of chars in prompt for handling the
- need of new line.
+ Bash/readline handles line editing incorrectly when multibyte characters
+ appear in $PS1 between the "\e]0;" and "\a" escape sequences (which
+ serve to update the title of the virtual terminal window).
  
  For example, I created a folder "~/Vidéos/ééé".
  
  the char 'é' takes 2 bytes in UTF-8.
  
  When I write something, no problem :
  r...@rom-laptop:~/Vidéos/ééé$ echo 
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrst
  uvwxyz
  
  The problem appears when pressing ↑ (up) in the terminal to write again
  the same command, and editing it : everything is shifted of 4 chars,
  cursor is not at the right place, and what appears in the command is not
  the command executed (see attached screenshot).

-- 
bash utf-8 characters issue
https://bugs.launchpad.net/bugs/367369
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to