Linux character set viewing and setting -- rhel5.8 command: locale-a view local character set locale-m View all supported character sets view current default echo $ LANG record system default language file is/etc/sysconfig/i18n, if the default installation...
Linux character set viewing and setting -- rhel5.8 command: locale-a view local character set locale-m View all supported character sets view current default echo $ LANG record system default language file is/etc/sysconfig/i18n, if the default installation is a Chinese system, the i18n content is as follows: www.2cto.com code: LANG = "zh_CN.UTF-8" SYSFONT = "latarcyrheb-sun16" SUPPORTED = "zh_CN.UTF-8: zh_CN: en "LANG variable is short for language. a user with a slight English base can see that this variable determines the default language of the system, that is, the system menu, the tool bar language of the program, and the default language of the input method. SYSFONT is short for system font and determines which font is used by default. The SUPPORTED variable determines the language SUPPORTED by the system, that is, the language that the system can display. It should be noted that because the computer originated from the English-speaking country, no matter what you set these variables, English is always supported by default, and no matter what font you use, the English font is always included. Character set settings: 1. temporary LANG = "zh_CN.UTF-8" export LANG = "zh_CN.UTF-8" 2. 1. modify the/etc/sysconf/i18n file, put LANG = "zh_CN.UTF-8"
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