How to solve Chinese garbled characters (small box) during redhat installation
When linux is installed, garbled Chinese characters are installed, or the Chinese characters are incorrectly selected to be in English. When the Chinese characters are displayed with garbled characters, The following describes how to solve the problem:
When RHEL5 is installed for the first time, if the English language is selected, the system will not install the Chinese support package, which leads to garbled Chinese characters (small box ).......
Many people say that the vi/etc/sysconfig/i18n file is not necessary at all.
Solution:
Install
1. Fonts-chinese-3.02-9.6.el5.noarch.rpm. Add -- force if installation fails
2. Fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm
Most people do not perform any other operations here, so they still cannot correctly display Chinese characters.
3. cd/usr/share/fonts/
4. fc-cache-fv #
The above two steps are the key to success! So pay special attention here! Restart the system.
Install the Chinese input method
After installing the following packages, you can see the Chinese input method.
Find the following file (in the/server folder) in the system installation disk ):
Scim-libs-1.4.4-41.el5.i386.rpm
Scim-1.4.4-41.el5.i386.rpm
Scim-chinese-standard-0.0.2-1.el5.i386.rpm
Scim-tables-0.5.6-7.i386.rpm
Scim-tables-chinese-0.5.6-7.i386.rpm
Scim-pinyin-0.5.91-16.el5.i386.rpm
Double-click them and remember to run them in the order above, because there is a dependency between them.
Restart the system.
Red Hat 5 is attached. The desktop can display Chinese characters normally, but Chinese characters in the terminal are garbled.
Vi/etc/sysconfig/i18n
Change content
LANG = "zh_CN.GB18030"
LANGUAGE = "zh_CN.GB18030: zh_CN.GB2312: zh_CN"
SUPPORTED = "zh_CN.GB18030: zh_CN: zh: en_US.UTF-8: en_US: en"
SYSFONT = "lat0-sun16"
Restart the system.
Reprinted csdn
How to solve Chinese garbled characters (small box) during redhat installation