QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: icqripple

求助!kernel-2.6.8下fat32分区中文不能显示

[复制链接]
发表于 2004-8-29 14:10:57 | 显示全部楼层
我要吐血了,在fstab加了参数iocharset=utf8后,居然一切正常了.现在只剩下fcitx的问题了.   
回复

使用道具 举报

发表于 2004-8-29 15:00:09 | 显示全部楼层
[quote:a812ea84cc="fudaming"]   顶一下,有人能确认utf8是不是不能自圆其说,如果是,再换gbXXX不迟.     [/quote]
中文吧

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

发表于 2004-8-29 15:14:03 | 显示全部楼层
原来还有第二页,没注意,不好意思
回复

使用道具 举报

发表于 2004-8-29 17:49:01 | 显示全部楼层
  
啊哈哈,fcitx也好了,真是神奇啊!
感谢诸位,感谢cnhnln。
不过还有小疑问,不是说fat32不支持utf8吗?怎么加了utf8参数就正常了呢?我说的自圆其说指的是这个。
回复

使用道具 举报

发表于 2004-8-29 20:41:02 | 显示全部楼层
编译内核时说不支持utf8,但是mount就可以,不明白。而且也不明白iocharset和codepage究竟有何区别。fat和vfat也搞不清楚
内核文档里的ntfs
[code:1]iocharset=name                Deprecated option.  Still supported but please use
                        nls=name in the future.  See description for nls=name.

nls=name                Character set to use when returning file names.
                        Unlike VFAT, NTFS suppresses names that contain
                        unconvertible characters.  Note that most character
                        sets contain insufficient characters to represent all
                        possible Unicode characters that can exist on NTFS.
                        To be sure you are not missing any files, you are
                        advised to use nls=utf8 which is capable of
                        representing all Unicode characters.

utf8=<bool>                Option no longer supported.  Currently mapped to
                        nls=utf8 but please use nls=utf8 in the future and
                        make sure utf8 is compiled either as module or into
                        the kernel.  See description for nls=name.[/code:1]
vfat的
[code:1]codepage=###  -- Sets the codepage number for converting to shortname
                 characters on FAT filesystem.
                 By default, FAT_DEFAULT_CODEPAGE setting is used.

iocharset=name -- Character set to use for converting between the
                 encoding is used for user visible filename and 16 bit
                 Unicode characters. Long filenames are stored on disk
                 in Unicode format, but Unix for the most part doesn't
                 know how to deal with Unicode.
                 By default, FAT_DEFAULT_IOCHARSET setting is used.

                 There is also an option of doing UTF8 translations
                 with the utf8 option.

                 NOTE: "iocharset=utf8" is not recommended. If unsure,
                 you should consider the following option instead.

utf8=<bool>   -- UTF8 is the filesystem safe version of Unicode that
                 is used by the console.  It can be be enabled for the
                 filesystem with this option. If 'uni_xlate' gets set,
                 UTF8 gets disabled.[/code:1]
回复

使用道具 举报

发表于 2004-8-30 09:17:54 | 显示全部楼层
  
嘿嘿,不管了,反正正常了就可以了。
回复

使用道具 举报

发表于 2004-8-30 15:57:13 | 显示全部楼层
编译内核时说不支持utf8,但是mount就可以

不明白不明白
回复

使用道具 举报

发表于 2004-9-4 11:34:49 | 显示全部楼层
我现在遇到的问题是,内核通过Fedora core 2的agent升级到2.6.8-1.521后挂载上fat分区后,不能浏览,

比如:

mount /dev/hda7 /mnt/hda
没有错误,

然后

cd /mnt/hda
也没有错误


ls
就不响应了,也不能卸载调,关机也不行,不知为什么,大家遇到过这样的问题吗,是怎么解决呢
回复

使用道具 举报

发表于 2004-9-7 15:42:31 | 显示全部楼层
我设置的是cp936和uft8在终端里面,中文能正确显示,不错
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-18 18:05 , Processed in 0.053975 second(s), 13 queries .

© 2021 Powered by Discuz! X3.5.

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