linux Chinese file name garbled

2011-03-01  来源:本站原创  分类:OS  人气:65 

My operating system is :
[[email protected] work]# cat /etc/redhat-release
CentOS release 5.4 (Final) 

1) First download and install two language packs :

( In the virtual machine that can see :[url]http://blogold.chinaunix.net/u3/111819/showart_2288260.html[/url])
fonts-chinese-3.02-12.el5.noarch.rpm
fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm

2) Modify /etc/sysconfig/i18n
LANG="zh_CN.UTF-8"
SUPPORTED="zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="lat0-sun16"
 Indicates that the first row of your current system language environment variable settings  , Here is the  zh_CN.GB18030
 The second line shows that system preferences that language support  , Is not in the language of the project does not display properly
 Third line defines a console terminal fonts , Log in your text font is displayed when the lat0-sun16

3)reboot
相关文章