For Some reasons, the system installed without Chinese support, resulting in the subsequent application of Chinese block garbled phenomenon, the solution is very simple, of course, is not re-installed, only the following three steps can be done. 1, install Chinese package: Yum-Y Groupinstall chinese-support installs all packages related to Chinese2, modify character encoding profile # VI/etc/sysconfig/i18n modified content as follows: LANG="ZH_CN. UTF-8"supported="Zh_CN:zh:en_US. utf-8:en_us:en:zh_cn.gb18030"Sysfont="Latarcyrheb-sun16" 3, and finally restart the server: #reboot
Edit/etc/sysconfig/i18n This file, whether you have a Chinese version, or English version. Delete the original settings and put the following copy past Lang="zh_cn.gb18030"supported="ZH_CN. GB18030:zh_CN:zh:en_US. Utf-8:en_us:en"Sysfont="Latarcyrheb-sun16"Save, re-start. Ok this time, the Linux console can be displayed in Chinese, the corresponding file in RHEL5 is/usr/lib/locale/zh_cn.gb18030/etc/sysconfig/i18n Here is the System locale language setting the first line indicates the locale variable setting of your current system, here is ZH_CN. GB18030 the second line indicates that the system presets the language support, the language does not appear in the project the third line defines the console terminal font, the font that is displayed when you log in is this Latarcyrheb-Sun16 i18n is an abbreviated form of internationalization, meaning that between I and N there is -letters, meaning "internationalization" of the software. I18N supports multiple languages, but only in English and one selected language at a time, such as English+ Chinese, English + German, English +Korean, etc; the original: LANG="ZH_CN. UTF-8"supported="ZH_CN. Utf-8:zh_cn:zh"Sysfont="Latarcyrheb-sun16"
Inux install Chinese support package and Chinese character set configuration +i18n