Description of problem: Default locale in Fedora is set to UTF-8 (for instance en_US.UTF-8 or pl_PL.UTF-8). Without 'utf8' mount option, file names with non US-ASCII characters on vfat partitions are not shown correctly. Version-Release number of selected component (if applicable): anaconda-10.92.5-1 How reproducible: Run installator and in custom partition layout choose existing vftat partition. Assign to it /mnt/data mount point. After reboot check /etc/fstab. Actual results: 'defaults' option is used for vfat partition. Expected results: Should be 'defaults,utf8'
Actually, the kernel should just be defaulting to the right option :-)
Done.
What about non-UTF-8 locales? When I try to use the usb flash (for example) in localized windows and linux boxes the last brings incorrect file- and dirnames (only utf8fied independly of iocharset option). It is no good behaviour for me (I'm using uk_UA.KOI8-U locale on my linux box).
In addition, I think may be more good to use CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET="utf8" or something like that?
*** Bug 192541 has been marked as a duplicate of this bug. ***
Had to dig through kernel SRPM to find a solution for my problem ;-( I don't think that's the correct way for end users. After looking at fs/fat/inode.c I found the utf8=0 (and the equivalent utf8=false) options which solve my problem when using a non-UTF8 locale, which is undocumented in "man mount". However, I think the solution to make utf8 enabled by default is kind of crude. The least that should be done is to add info about "utf8=0" option to the man page, because that was the first place where I was looking for an answer. But I still think that changing Anaconda to add the "utf8" mount option would be better.