Bad utf8 display with tmux

Posted by Nison Maël on Server Fault See other posts from Server Fault or by Nison Maël
Published on 2012-10-21T20:27:48Z Indexed on 2012/10/21 23:04 UTC
Read the original article Hit count: 175

Filed under:
|

When I press the "é" key multiple times on my keyboard, here is what tmux print (notice the spaces) :

arcanis@~ > é é é é é é é é é é é é é

It also broke emacs when the file contains utf8 characters.

My locale is :

arcanis@~ > locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

How can I fix this ?

© Server Fault or respective owner

Related posts about utf-8

Related posts about tmux