Edit the/etc/sysconfig/i18n file,
Whether you have installed the Chinese version or the English version, delete the original settings and copy the following
Lang = "zh_cn.gb18030"
Supported = "zh_cn.gb18030: zh_cn: Zh: en_US.UTF-8: en_us: en"
Sysfont = "latarcyrheb-sun16"
Save, restart. OK
In this case, Chinese characters can be displayed on the Linux console,
The corresponding file in rhel5 is/usr/lib/locale/zh_cn.gb18030.
/Etc/sysconfig/i18n stores the regional language settings of the system.
The first line indicates the language environment variable settings of your current system. Here is zh_cn.gb18030
The second line indicates that the system has preset language support and the language not in the project cannot be properly displayed.
The third line defines the console terminal font, the font displayed when you log on to text is the latarcyrheb-sun16
Note:
I18n is short for internationalization. It means that there are 18 letters between I and N. It means the software is "internationalized ".
I18n supports multiple languages, but it can only be English or a selected language at the same time, such as English + Chinese, English + German, English + Korean, etc;
Original:
Lang = "zh_CN.UTF-8"
Supported = "zh_CN.UTF-8: zh_cn: ZH"
Sysfont = "latarcyrheb-sun16"