Centos language settings

Source: Internet
Author: User
Tags i18n

Loading editor... # vi/etc/sysconfig/i18n lang = "en_US.UTF-8" sysfont = "latarcyrheb-sun16" the default language is English, if you change the first line to "lang =" zh_CN.UTF-8 "", then, the shell on the local machine can see the normal Chinese characters, but when connected via SSH, all Chinese characters will become garbled; then change to "lang =" zh_cn.gb18030 ″", log On again to find everything is OK. Linux: what is the role of the/etc/sysconfig/i18n file? What does each line in/etc/sysconfig/i18n under Red Hat mean? Lang = "zh_cn.gb18030 」 supported =" zh_cn.gb18030: zh_cn: Zh: en_US.UTF-8: en_us: en "sysfont =" latarcyrheb-sun16 "++ ++/etc/sysconfig/i18n stores the regional language settings of the system, i18n is the abbreviation of internationalization. the first line of the 18 letters between I and N indicates the language environment variable settings of your current system. The second line of zh_cn.gb18030 indicates that the system has preset language support, the third line definition console terminal font cannot be displayed normally in languages not in the project, the font displayed when you log on to the text is this latarcyrheb-sun16...

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.