Jan Stary wrote: > This is current/amd64. > With the recent addition of UTF to tmux, > I apparently need to change something to be able > to read my latin2 email etc as I did before. > > Here is mutt reading an email written in Czech, > (a) inside an xterm (b) inside tmux inside an xterm: > > http://stare.cz/~hans/.tmp/mutt-xterm.jpg > http://stare.cz/~hans/.tmp/mutt-tmux.jpg > > Same thing happens with e.g. typing in vim: > OK in a vim inside an xterm, not OK in vim inside tmux inside an xterm. > > I set my XTerm*locale to ISO8859-2 (~/.Xrescources below), > but apparently I need to tell that to the utf tmux. > Am I missing something obvious? > > Note that luti(1) is also involved in making > ISO8859-2 available to my xterm. > > | \-+- 18323 hans xinit /home/hans/.xinitrc -- /home/hans/.xserverrc :0 > -auth /home/hans/.serverauth.qtZtR6DhMt > | |-+= 22909 hans Xorg -nolisten tcp > | | \--- 32623 root Xorg: [priv] (Xorg) > | \-+= 21393 hans sh /home/hans/.xinitrc > | \-+- 08706 hans cwm > | |-+= 26831 hans xterm > | | \-+= 29949 hans /usr/X11R6/bin/luit -encoding ISO8859-2 -argv0 > -ksh > | | \-+= 23983 hans -ksh (ksh) > | | \--= 23111 root -ksh (ksh)
I was going to tell you about luit, though you've already seen it. xterm uses it internally, but tmux doesn't. You can run it by hand too. "luit mutt"