fudaming 发表于 2004-8-29 14:10:57

我要吐血了,在fstab加了参数iocharset=utf8后,居然一切正常了.现在只剩下fcitx的问题了. :mrgreen::arrow:

cnhnln 发表于 2004-8-29 15:00:09

:mrgreen::mrgreen: 顶一下,有人能确认utf8是不是不能自圆其说,如果是,再换gbXXX不迟. :mrgreen::mrgreen::o
中文吧
http://www.linuxfans.org/nuke/modules/Forums/files/utf8.png

cnhnln 发表于 2004-8-29 15:14:03

原来还有第二页,没注意,不好意思

fudaming 发表于 2004-8-29 17:49:01

:mrgreen::mrgreen:
啊哈哈,fcitx也好了,真是神奇啊!
感谢诸位,感谢cnhnln。
不过还有小疑问,不是说fat32不支持utf8吗?怎么加了utf8参数就正常了呢?我说的自圆其说指的是这个。 :idea:

cnhnln 发表于 2004-8-29 20:41:02

编译内核时说不支持utf8,但是mount就可以,不明白。而且也不明白iocharset和codepage究竟有何区别。fat和vfat也搞不清楚 :?
内核文档里的ntfs
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.
vfat的
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.

fudaming 发表于 2004-8-30 09:17:54

:mrgreen::roll:
嘿嘿,不管了,反正正常了就可以了。

llc 发表于 2004-8-30 15:57:13


编译内核时说不支持utf8,但是mount就可以
:x 不明白不明白 :arrow:

chinaren_shibo 发表于 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
就不响应了,也不能卸载调,关机也不行,不知为什么,大家遇到过这样的问题吗,是怎么解决呢

yaohanping 发表于 2004-9-7 15:42:31

我设置的是cp936和uft8在终端里面,中文能正确显示,不错
页: 1 [2]
查看完整版本: 求助!kernel-2.6.8下fat32分区中文不能显示