In the last snapshot, it seems, tmux does not do UTF8 input correctly,
while xterm is fine. This used to work with the ~/.xsession below.

When typing non-ascii in xterm or in a vim-in-an-xterm
ot a mutt-in-an-xterm, thay appear OK. When in a tmux window,
they look like garbage.

Interestingly, if I type some Czech text into /tmp/cz 
(using vim in an xterm, whre it works), and then open
the file with vim in tmux, the text there appears fine
- only _new_ text typed within tmux looks broken.

Has anything changed in the way tmux handles UTF8?
Is anyone else seeing this?

        Jan


$ cat ~/.xsession
#!/bin/sh

#gtf 1280 1024 60.0
#xrandr --newmode 1280x1024_60.00 108.88 1280 1360 1496 1712 1024 1025 1028 
1060 -HSync +Vsync
#xrandr --addmode VGA1 1280x1024_60.00
#xrandr --output VGA1 --mode 1280x1024_60.00

xsetroot -solid black
#xset -b -c dpms 300 600 900 m 2 0 r rate 400 30 s blank s 120 60

setxkbmap -layout "us,cz" -option "grp:shifts_toggle,grp_led:scroll"
xmodmap ~/.xmodmaprc

#xrdb -load ~/.Xresources
export XENVIRONMENT=~/.Xresources
export LC_CTYPE="cs_CZ.UTF-8"

cwm


$ cat /tmp/cz

good line: ěščřžýáíé (vim in xterm)
bad line : ěščřžýáíé (vim in tmux in xterm)

Reply via email to