How to read files from FAT disk which names contain Chinese
yuri at rawbw.com
Mon Mar 30 21:26:35 PDT 2009
When I mount FAT disk all such files cause 'ls' to produce messages like
ls: WS???????.WMA: Invalid argument
I found online that I should use command:
mount_msdosfs -D cp936 -L zh_CN.UTF-8 /dev/device /path/to/folder
but it doesn't work either.
that in order to be able to see Russian file names fstab has to contain
/dev/ad0s2 /dos/c msdos rw,-Wkoi2dos,-Lru_RU.KOI8-R 0 0
But what about Chinese file names?
And how come different locales require different commands to mount?
What if file system will have both Chinese and Russian file names?
More information about the freebsd-questions