Current location - Recipe Complete Network - Dinner recipes - How to solve Chinese garbled codes in juicessh
How to solve Chinese garbled codes in juicessh
1, modify the configuration file under /etc/sysconfig/i 18N as follows:

LANG="zh_CN.GB 18030"SUPPORTED="zh_CN.GB 18030:zh_CN:zh:en_US.UTF-8:en_US:en"SYSFONT="latarcyrheb-sun 16"?

After saving, SSH login again can display Chinese.

Note: LANG sets the language environment variable of the current system, and SUPPORTED sets the preset language of the system. Yes, SYSFONT defines the font of console terminal.

2. If you have no authority to modify /etc/sysconfig/i 18N, execute the following command # export # exportlc _ all = zh _ cn.gbk # export.gbk.

3. Use other tools that can choose coding, such as PuTTy.