Chinaunix首页 | 论坛 | 博客
  • 博客访问: 321419
  • 博文数量: 106
  • 博客积分: 1115
  • 博客等级: 少尉
  • 技术积分: 806
  • 用 户 组: 普通用户
  • 注册时间: 2006-08-04 08:06
文章分类

全部博文(106)

文章存档

2015年(4)

2014年(48)

2013年(15)

2012年(38)

2011年(1)

我的朋友

分类: LINUX

2014-04-09 01:07:44

"ssh -X root@cent5a" found firefox can not display chinese. The correct procedure is:
(1) #locale;  shows current display
(2)#locale -a ; find the chinese setting: zh_CN.gb2312
(3)change /etc/sysconfig/i18n from:
                LANG="en_US.UTF-8"
                SYSFONT="latarcyrheb-sun16"
    to:
                LANG="zh_CN.gb2312"
                SYSFONT="lat0-sun16"
(4) reboot to run "locale" shows:
    LANG="zh_CN.gb2312"
SYSFONT="lat0-sun16"
[root@cent5a sysconfig]# locale
LANG=zh_CN.gb2312
LC_CTYPE="zh_CN.gb2312"
LC_NUMERIC="zh_CN.gb2312"
LC_TIME="zh_CN.gb2312"
LC_COLLATE="zh_CN.gb2312"
LC_MONETARY="zh_CN.gb2312"
LC_MESSAGES="zh_CN.gb2312"
LC_PAPER="zh_CN.gb2312"
LC_NAME="zh_CN.gb2312"
LC_ADDRESS="zh_CN.gb2312"
LC_TELEPHONE="zh_CN.gb2312"
LC_MEASUREMENT="zh_CN.gb2312"
LC_IDENTIFICATION="zh_CN.gb2312"
LC_ALL=
(5) install chinese font:
   yum install fonts-chinese







阅读(853) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~