Centos SSH Login garbled solution

Source: Internet
Author: User

1.vi/etc/sysconfig/i18n

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"

So Chinese in SSH, Telnet terminal can be displayed normally.

2. Install Linux when the choice is Chinese characters, but the use of a garbled solution is to enter export lang=c at the command prompt

--------------------------------------------------------------------------------------------------------------- -

[Email protected] ~]# Local
Local locale Localedef
[Email protected] ~]# locale
Lang=zh_cn. GBK
Lc_ctype= "ZH_CN. GBK "
Lc_numeric= "ZH_CN. GBK "
Lc_time= "ZH_CN. GBK "
Lc_collate= "ZH_CN. GBK "
Lc_monetary= "ZH_CN. GBK "
Lc_messages= "ZH_CN. GBK "
Lc_paper= "ZH_CN. GBK "
Lc_name= "ZH_CN. GBK "
Lc_address= "ZH_CN. GBK "
Lc_telephone= "ZH_CN. GBK "
Lc_measurement= "ZH_CN. GBK "
Lc_identification= "ZH_CN. GBK "
Lc_all=zh_cn. GBK

Centos SSH Login garbled solution

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.