Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SSH chains and mixed encoding
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Mike81
n00b
n00b


Joined: 05 Jan 2011
Posts: 39

PostPosted: Fri Jan 18, 2013 6:49 pm    Post subject: SSH chains and mixed encoding Reply with quote

Hi,

from my system A (UTF-8) I am connected via SSH to another system B, also UTF-8. From system B I will ssh into system C which is en_US.ISO8859-1.

Now my problem is, that when I am displaying files, I see garbage for some characters.

What's the best way to handle that? I cannot change system C's locale.


Last edited by Mike81 on Fri Jan 25, 2013 4:08 pm; edited 1 time in total
Back to top
View user's profile Send private message
limn
l33t
l33t


Joined: 13 May 2005
Posts: 997

PostPosted: Fri Jan 18, 2013 11:05 pm    Post subject: Reply with quote

Do you have en_US.ISO8859-1 enabled in /etc/locale.gen on the system where you actually display the files?
How are you displaying the files?
Back to top
View user's profile Send private message
Mike81
n00b
n00b


Joined: 05 Jan 2011
Posts: 39

PostPosted: Fri Jan 25, 2013 4:09 pm    Post subject: Reply with quote

Hi,

no - the system used for viewing was UTF-8 only.

For viewing I tried less, mcedit and nano.

I'll try to add the locales from the other system to the system I am using for viewing.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum