Score:0

Display Chinese characters in SSH terminal

jm flag

I need to install a package from GitHub (https://github.com/vaxilu/x-ui/) which is pure Chinese.

I tried to install it on Ubuntu 22.04 but during installation it asks some questions and I can't use an online translator because all I see is ????????.

My current locale is as below:

locale -a

C
C.utf8
en_US.utf8
POSIX

According to this question (Ubuntu display Chinese Characters - Encoding Issue) all I need is to set my locale to utf-8, but it's already set.

When I look at the source of the install.sh file of the above package I clearly see the Chinese characters and I'm able to translate them, which tells me they are in utf-8 encoding.

So why I can't see them when I SSH to my Ubuntu machine?

I'm running SSH from command prompt of Windows 10.

ar flag
Does the same problem happen if you run ssh from Ubuntu under WSL2? If not, this is a Windows problem.
Omid Shojaee avatar
jm flag
Thanks. I have the same issue with Ubuntu (WSL2).
ar flag
Can you try it locally without getting ssh involved? You can use the live Ubuntu installation USB to boot Ubuntu and select **Try Ubuntu** option. Then try to install the app. This will tell me if the problem is limited to ssh or it affects the local terminal as well.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.