Red Hat Bugzilla – Bug 107834
RFE: Compile kernel with CONFIG_NLS_DEFAULT="utf8"
Last modified: 2007-11-30 17:10:32 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031017
Description of problem:
Filesystems that use unicode internally need charset conversion for filenames,
kernel default is still to convert to iso8859-1. Unfortunately this leads to
problems with FC's default unicode (UTF-8) environment.
Latest Fedora Core kernel config still uses default setting:
$ grep CONFIG_NLS_DEFAULT /boot/config-2.4.22-1.2088.nptl
To correctly show filenames on unicode environment right encoding is "utf8".
Filesystems that use unicode internally include:
vfat, ntfs, jfs, iso9660 with joliet and smbfs.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install Fedora Core
2. Mount VFAT partions during install
3. Or mount any VFAT floppy with non-ascii filenames
Actual Results: Filenames with non-ascii characters are converted to
iso-8859-1, that is inappropriate with otherwise unicode system. Nautilus will
complain about illegal unicode and 'ls' in terminal window shows '?'s instead of
letters on such filesystems.
Expected Results: Non-ascii characters should be presented in UTF-8.
Kernel default nls can be overridden with option iocharset=utf8 when mounting
filesystem that is internally unicode aware, however neither anaconda nor kuzdu
use this option.
I think that it is easier to fix this by adjusting kernel default behaviour,
since this config change has minimal impact on anything else and it also get
things right when user manually mounts something without specifying iocharset.
This seems to be same bug as #110231. I wonder if correcting this will
solve the problem that burning files having scandinavic characters (Ã¶
and Ã¤) in their names with Nautilus Burn do not show right in Windows
(XP). I'am too lazy to try compiling kernel.
Mikko, do you have possibility to try this? If it doesn't help then we
need to make another bugreport I gues.
I haven't used it, but Nautilus cd burner is probably broken because
mkisofs doesn't support UTF-8 and Joliet correctly, and because of
that every cd burning program under Linux has same problem.
See bugs #87613 and #106479 for more information and workarounds.