解决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.0                               Vendor: CentOS

    Release     : 17.1                          Build Date: Sat 06 Jan 2007 08:12:42 PM PST

    Install Date: (not installed)               Build Host: builder6.centos.org

    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 2007 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.02                              Vendor: CentOS

    Release     : 12.el5                        Build Date: Sat 10 Nov 2007 07:52:36 AM PST

    Install Date: (not installed)               Build Host: builder7.centos.org

    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 2007 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.3                             Vendor: CentOS

    Release     : 48.el5                        Build Date: Sat 24 May 2008 09:05:32 AM PDT

    Install Date: Mon 13 Apr 2015 10:19:30 PM PDT      Build Host: builder16.centos.org

    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 2008 04:36:42 PM PDT, Key ID a8a447dce8562897

    URL         : http://www.m17n.org/m17n-lib/index.html

    Summary     : m17n-db input table for Chinese

    Description :

    m17n-db Chinese input map.