Linux Character Set problems-general Linux technology-Linux technology and application information, the following is a detailed description. 1. Linux LANG variable, decided to display the language, now domo thinks en_US.UTF-8,/etc/sysconfig/i18n file control. If a multi-language package is selected during installation, the SUPPORTED variable will contain the variables. SYSFONT is the font used by the system.
2. If the default language is en_US.UTF-8, Linux characters and graphical interfaces are not displayed and enter Chinese. If the default language is Chinese, for example, zh_CN.GB18030 or zh_CN.gb2312, the character interface cannot be displayed or input. The graphic interface can be used.
3. If you want to display and enter Chinese characters on the Character interface, you can install a software package, such as cce and zhcon. If not, you can use Putty for remote control.
If you use Putty to remotely control Linux, you can display and enter Chinese characters, but you must set them. To display Chinese characters, you must set the LANG variable to Chinese. If you want to enter Chinese characters, you only need to select the new Window ance, Chinese Character Set, and bold 3 in the Window-Appearance of Putty. (The Chinese Character Set is required and the font is casual, my experience is that xinsong looks nice in Chinese and English, and is comfortable in bold 3). Use font encoding for character set in Window-Translation. After setting, you can enter Chinese characters in the interface and file. If only the input can not be displayed, it does not have much practical significance. It can only be used to use a Chinese directory or file in the command line.
4. In general, if you want to display Chinese characters, it is better to set the system language to Chinese. If you have to use English for other reasons, it is relatively difficult to install cce or remote control (the terminal manually changes the LANG variable)
You only need to install the following Chinese package
Rpm-ivh ttfonts-zh_CN-2.14-6.noarch
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.