How can i mount a NTFS partition, which has german umlaute (ä, ö, ü) in the filenames. I'm using the following mount command:
mount -t ntfs-3g UUID=5A9098309098149B /local/data -olocale=de_DE.UTF-8
How can i mount a NTFS partition, which has german umlaute (ä, ö, ü) in the filenames. I'm using the following mount command:
mount -t ntfs-3g UUID=5A9098309098149B /local/data -olocale=de_DE.UTF-8
Of the supposed options for mount, neither nls
nor iocharset
will help, as they are not even defined for NTFS. Consult the man page man mount.ntfs
. Also, the default system locale is specified in /etc/default/locale
on Ubuntu systems. You have not told us what locale you use, is it really en_US
? That would be bad and so ’90s, as UTF-8 ought to be the standard by now.
Under a UTF-8 locale, a simple mount should do it:
mount -t ntfs UUID=5A9098309098149B /local/data
Other than that, I cannot help. It works for me.
nls
and iocharset
are defined for NTFS according to man mount
. Strange though that they are not mentioned in man mount.ntfs
. Perhaps a documentation bug?
The locale locale=de_DE.UTF-8 in the mount option it's ok, you need then to change the system locale as well
/etc/profile.d/lang.sh
export LANG=de_DE.UTF-8
and restart the PC (or re-source the profile)
You can try to add option nls=utf8
.
mount -t ntfs-3g UUID=5A9098309098149B /local/data -o nls=utf8