LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 3157|回复: 7

求助:u盘乱码问题。

[复制链接]
发表于 2008-11-15 13:14:05 | 显示全部楼层 |阅读模式
我装的是slk12.1,locale为gb2312。但是插入u盘后kde的自动挂载程序仍然把u盘的iocharset认为utf8,请问如何解决?
 楼主| 发表于 2008-11-15 13:37:31 | 显示全部楼层
我查了资料好像是hal的问题。有gb2312挂载u盘不是乱码的兄弟能把
/usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi
文件贴出来看看吗
回复 支持 反对

使用道具 举报

发表于 2008-11-15 16:48:05 | 显示全部楼层
hal-storage-cleanup-all-mountpoints    hald-addon-storage     org.freedesktop.Hal.Device.Volume Eject as extra_options hal-storage-eject   org.freedesktop.Hal.Device.Volume Eject as extra_options hal-storage-eject      org.freedesktop.Hal.Device.Volume Mount ssas mount_point fstype extra_options hal-storage-mount Unmount as extra_options hal-storage-unmount Eject as extra_options hal-storage-eject   ro sync dirsync noatime nodiratime noexec quiet remount exec  utf8 shortname= codepage= iocharset= umask= uid=   ro noexec noatime        false      true      true   true     true      true      true      true   true      true   true     true      true   org.freedesktop.Hal.Device.Volume Mount ssas mount_point fstype extra_options hal-storage-mount Unmount as extra_options hal-storage-unmount Eject as extra_options hal-storage-eject   ro sync dirsync noatime nodiratime noexec quiet remount exec   ro noexec noatime     utf8 shortname= codepage= iocharset= umask= dmask= fmask= uid= flush   longnames shortnames nowin95 -u= -g= -m= -M= -L= -D=     gid= uid= force    force     uid= gid= umask= locale= utf8   -u= -g= -m= -a -i -C= -W=     acl user_xattr data=    acl user_xattr     uid= umask=   -C= -v      utf8 uid= mode= iocharset=   extatt gens nojoliet norrip nostrictjoliet -s= -C= -v     lazy      org.freedesktop.Hal.Device.Volume Eject as extra_options hal-storage-eject     org.freedesktop.Hal.Device.Storage Eject as extra_options hal-storage-eject org.freedesktop.Hal.Device.Storage CloseTray as extra_options hal-storage-closetray
回复 支持 反对

使用道具 举报

发表于 2008-11-15 16:50:57 | 显示全部楼层
不对,不对,不好意思,由错了,我的也乱码
回复 支持 反对

使用道具 举报

发表于 2008-11-15 17:44:36 | 显示全部楼层
为什么不用UTF-8的locale?我的以前没有问题,现在就不清楚了,好久没有用过KDE了,一直都是手动挂载的
回复 支持 反对

使用道具 举报

发表于 2008-11-15 19:15:02 | 显示全部楼层
slk下没有问题~
回复 支持 反对

使用道具 举报

发表于 2008-11-16 15:16:25 | 显示全部楼层
楼主,我的12.1里的locale没有gb2312,我用的utf8,要是U盘是fat32格式的没问题啊,没有乱码,你的locale里有gb2312吗,可以“locale -a”看一下
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-11-17 09:38:15 | 显示全部楼层
gb2312是可以的,关键是在挂载U盘时默认就是utf8,不知道怎么改成gb2312。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表