Linux Chinese display garbled solution, in fact, there are a number of cases, a part of the default settings caused by the terminal
vi/etc/sysconfig/i18n Change the content to lang= "en_US. UTF-8 "
Supported= "ZH_CN. Utf-8:zh_cn:zh:en_us. Utf-8:en_us:en "
Sysfont= "Latarcyrheb-sun16"
Change the content to
Lang= "ZH_CN. GB18030 "
Language= "Zh_CN.GB18030:zh_CN.GB2312:zh_CN"
Supported= "ZH_CN. GB18030:zh_CN:zh:en_US. Utf-8:en_us:en "
Sysfont= "Lat0-sun16" does not need to restart, immediately effective.
In this way, Chinese can normally be displayed in the Ssh,telnet terminal.
If you still can't, you can do this:
1, console terminal garbled
Add the following on the last line of the/etc/profile file:
Export Lc_all= "ZH_CN. GB18030 "
2, Xwindow terminal garbled
Add the following on the last line of the/etc/sysconfig/i18n file:
Export Lc_all= "ZH_CN. GB18030 "
Linux Chinese display garbled solution