Bugzilla – Bug 297607
ntfs-3g locale problem
Last modified: 2007-08-09 21:44:49 UTC
NTFS-3G driver's default entry in the fstab file: /dev/sda6 /windows/D ntfs-3g users,gid=users,umask=0002,nls=utf8 0 0 With this setting only those files and folders are shown which contain no non-English character. For example, if I have a folder named "Árvíztűrő tökürfúrógép" with full of Hungarian characters, the driver doesn't show it by default. To fix this problem, you should append after "nls=utf8" the locale, eg. "locale=hu_HU.UTF-8". The official FAQ in this question: http://www.ntfs-3g.org/support.html#locale I think you can use the $LANG shell variable.
No problem to add that locale string, but I have a question. Does that mean that if someone is using English as installation language of linux (and therefore will have "locale=en_US.UTF-8" added to fstab options) he will not be able to see files with e.g. German umlauts (äöu) on an ntfs filesystem.
An additional problem is that the option "locale=" is incompatible to the old ntfs driver. It complains: NTFS-fs error (device sda1): parse_options(): Unrecognized mount option locale. so if we add this option, the user cannot easily switch back to the old ntfs driver by changing "ntfs-3g" to "ntfs" in /etc/fstab.
I tried your first issue: I changed the locale from hu_HU.UTF-8 to en_US.UTF-8 and after a remount I can see all of my folders and files with Hungarian letters. I don't know how but it works. I think you should place a comment in the fstab file in case of s/he wants to switch back to the old driver. But I think it has greater priority to see all of the files than the (probably experienced) user could change back to read-only mode. Or s/he puts the "ro" flag into the options (I suppose it also works with ntfs-3g) if he wants only a read-only fs, but he doesn't require the old driver.
Changed fstab options for ntfs-3g to add mount option for locale=. Change will show up in beta#1.
Working fine in beta1.
Closing.