You are not logged in.

#1 2009-12-27 11:38:06

erno
Member
Registered: 2009-08-24
Posts: 83

[Solved] ssh -t gives an UTF-8 problem

ssh -t user@192.168.0.101 'exec tmux att -d'

ö&ä are replaced by underscores - this doesn't happen if I ssh first and attach tmux by hand. Maybe .bashrc is not sourced or something?

Last edited by erno (2009-12-28 14:51:42)

Offline

#2 2009-12-28 02:59:07

steve___
Member
Registered: 2008-02-24
Posts: 454

Re: [Solved] ssh -t gives an UTF-8 problem

erno wrote:

ssh -t user@192.168.0.101 'exec tmux att -d'

ö&ä are replaced by underscores - this doesn't happen if I ssh first and attach tmux by hand. Maybe .bashrc is not sourced or something?

Can you try:

ssh -t user@192.168.0.101 'LANG=en_CA.utf8 exec tmux att -d'

Where "LANG=en_CA.utf8" is your locale.

Offline

#3 2009-12-28 03:05:26

erno
Member
Registered: 2009-08-24
Posts: 83

Re: [Solved] ssh -t gives an UTF-8 problem

This works, thank you!

Offline

#4 2012-08-21 07:00:45

vermelho
Member
Registered: 2012-05-02
Posts: 8

Re: [Solved] ssh -t gives an UTF-8 problem

Thank you!! smile

Offline

Board footer

Powered by FluxBB