You are not logged in.

#1 2010-09-19 07:20:16

Lazar
Member
Registered: 2010-09-01
Posts: 14

non-latin utf-8 characters on ssh host displayed as "???" in terminal

Both the client and the host use the same locale: en_US.UTF-8

I can input non-latin just fine but the resulting string appears in the terminal as question marks (e.g. "touch 表示してくれ; ls" gives me "??????????????????"), however if I check the same string with my SFTP client (Filezilla), the strings appears as intended so the character encoding seems to be handled correctly.

I'm using "gnome-terminal" on my client, in case that makes any difference (terminal parameters: on the client: TERM="xterm" and COLORTERM="gnome-terminal"; on the host: TERM="xterm").

Also, am I correct in assuming that I don't need to have any fonts installed on the host, as that's irrelevant to ssh?

UPDATE: I noticed a "cat" on a utf-8 text file on the ssh host shows the characters correctly, but looking at the same file through "nano" shows garbled characters. On my local machine (with practically identical Arch software versions) on the other hand, both "cat" and "nano" show files with these characters correctly.

Last edited by Lazar (2010-09-19 15:13:59)

Offline

Board footer

Powered by FluxBB