|
我的foedra 1.0无法显示windows分区的中文目录和文件名,已经使用codepage=936等语句,fstab文件如下,
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdc3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda1 /mnt/win_c defaults,exec,rw,codepage=936,iocharset=gb2312 0 0
/dev/hda5 /mnt/win_d defaults,exec,rw,iocharset=gb2312 0 0
/dev/hda6 /mnt/win_e defaults,exec,rw,iocharset=gb2312 0 0
/dev/hda7 /mnt/win_f defaults,exec,rw,iocharset=gb2312 0 0
/dev/hda8 /mnt/win_g defaults,exec,rw,iocharset=gb2312 0 0
查看locale发现
[root@dhcp-89-3 root]# locale
LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=
更改etc/sysconfig/i18n文件把LANG=“utf-8"改成LANG="zh_CN.GB18030"
,望高手解答 |
|