Chinese garbled characters after installing centOS5.5

1. Chinese garbled codes in web browsing##

[ root@localhost ~]# yum install fonts-chinese

After the download is complete, the browser can browse Chinese web pages.

2. The application shows Chinese garbled##

vi /etc/sysconfig/i18n

Put LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"
Modify the original content as
LANG="zh_CN.GB18030"
LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"
SUPPORTED="zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="lat0-sun16"

Install Chinese fonts with yum

yum install fonts-chinese.noarch

3、 In ssh, the telnet terminal displays garbled characters in Chinese##

vi /etc/sysconfig/i18n

Change the original content LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"
change into
LANG="zh_CN.GB18030"
LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"
SUPPORTED="zh_CN.UTF-8:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="lat0-sun16"

Install Chinese fonts with yum

yum install fonts-chinese.noarch

4. Install Chinese input method##

. Log in as root, or su root2.yum install "@Chinese Support"3.exit4. Back to the desktop, system->preferences->input method 5. If not, log out first. 6. Go to the add input method to the list. 7. Finally log out and log in. The test is correct under centOS 6.4.

Recommended Posts

Chinese garbled characters after installing centOS5.5