If I use `ssh -t user@server tmux attach` to log into woodpecker, unicode doesn't work. But if I separate the steps, unicode magically works. Then if I do `ssh -t user@server env LANG=en_US.UTF-8 tmux attach`, unicode also works. KingTaco in #gentoo-infra on freenode asked me to file a bug.
Well.. the default locale is POSIX. "ssh woodpecker.gentoo.org locale" Until you *login* and /etc/profile will be sourced, then you get en_US.UTF-8 by default. So the solution would be to either login or we enable "AcceptEnv LANG LC_*" in the sshd_config so that you could use: "ssh -o SendEnv=LANG woodpecker.gentoo.org locale"
newer SSH configs already include /etc/ssh/ssh_config:SendEnv LANG LC_* /etc/ssh/sshd_config:AcceptEnv LANG LC_* So we should add these meanwhile.
(In reply to comment #2) > newer SSH configs already include > /etc/ssh/ssh_config:SendEnv LANG LC_* > /etc/ssh/sshd_config:AcceptEnv LANG LC_* > > So we should add these meanwhile. Done for pecker, still need to do it in cfengine. -A
(In reply to comment #3) > (In reply to comment #2) > > newer SSH configs already include > > /etc/ssh/ssh_config:SendEnv LANG LC_* > > /etc/ssh/sshd_config:AcceptEnv LANG LC_* > > > > So we should add these meanwhile. > > Done for pecker, still need to do it in cfengine. > > -A Done.