解决Centos 5.8系统不能显示中文的异常:
1.安装如下软件包:
fonts-chinese-3.02-9.6.el5.noarch.rpm
fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm
m17n-db-chinese.noarch
2.软件包的功能:
[root@myhost2 CentOS]# rpm -qpi fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm
Name : fonts-ISO8859-2-75dpi Relocations: (not relocatable)
Version : 1.0Vendor: CentOS
Release : 17.1 Build Date: Sat 06 Jan 08:12:42 PM PST
Install Date: (not installed) Build Host:
Group : User Interface/X Source RPM: fonts-ISO8859-2-1.0-17.1.src.rpm
Size : 937653 License: Freely distributable
Signature : DSA/SHA1, Tue 03 Apr 05:21:49 PM PDT, Key ID a8a447dce8562897
Summary : A set of 75dpi Central European language fonts for X.
Description :
This package contains a set of Central European language fonts in 75 dpi
resolution for the X Window System.
[root@myhost2 CentOS]# rpm -qi fonts-chinese-3.02-12.el5.noarch.rpm
package fonts-chinese-3.02-12.el5.noarch.rpm is not installed
[root@myhost2 CentOS]# rpm -qpi fonts-chinese-3.02-12.el5.noarch.rpm
Name : fonts-chinese Relocations: (not relocatable)
Version : 3.02Vendor: CentOS
Release : 12.el5 Build Date: Sat 10 Nov 07:52:36 AM PST
Install Date: (not installed) Build Host:
Group : User Interface/X Source RPM: fonts-chinese-3.02-12.el5.src.rpm
Size : 39954346 License: Arphic Public License (GPL-like)
Signature : DSA/SHA1, Tue 20 Nov 11:11:10 AM PST, Key ID a8a447dce8562897
Summary : Chinese TrueType Font -- Simplified and Traditional Chinese Ming and Kai Face.
Description :
Chinese TTF Fonts donated by Arphic company, with additional Hong Kong characters by Hong Kong font project and bitmap by Firefly. Read license files for details.
[root@myhost2 CentOS]# rpm -qi m17n-db-chinese
Name : m17n-db-chinese Relocations: (not relocatable)
Version : 1.3.3Vendor: CentOS
Release : 48.el5 Build Date: Sat 24 May 09:05:32 AM PDT
Install Date: Mon 13 Apr 10:19:30 PM PDT Build Host:
Group : System Environment/Libraries Source RPM: m17n-db-1.3.3-48.el5.src.rpm
Size : 617771 License: LGPLv2+
Signature : DSA/SHA1, Sat 14 Jun 04:36:42 PM PDT, Key ID a8a447dce8562897
URL: /m17n-lib/index.html
Summary : m17n-db input table for Chinese
Description :
m17n-db Chinese input map.