How to solve Chinese garbled characters (small box) during redhat installation

Source: Internet
Author: User
Tags i18n

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

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.