UTF-8 characters do not display correctly in the interactive line editor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zsh (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: zsh
This bug exists in standard Ubuntu 6.06.1 with zsh as added-on application. No editing to any startup-files has been done.
When running a normal zsh-session (zsh 4.2.5) in GnomeTerminal (2.14.2) the euro-character is not echoed correctly on the command line. Instead, this odd-looking string appears: �^¬
Also some other characters create similar-looking output. This also happens in an xterm-window.
When typing the same characters in a bash-session everything is as it should.
Running the command locale gives the following output:
LANG=sv_
LANGUAGE=
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
According to the ZSH FAQ: "ZLE (the Zsh Line Editor) has no concept of character encodings, and is confused by multi-octet encodings."
So this appears to be a known problem with the original authors.