Japanese file name on vfat mount
I thought this Japanese file name probrem was for only Japanese. But when I visited the linux mailing list, I realized that someone who was not Japanese and his wife was Japanese. Also his wife did not know Linux or computer. So he tried to make her partition and use it with windows. He was very upset with Japanese file name was not indicated properly and asked to help but no one could help him because they normary don't use Japanese. So I decide to translate to English here.
Most Japanese Linux users know the character set of Japanese differ between Linux and Windows. Linux inherit the UNIX so that it uses EUC code (after Fedora it becomes UTF8) against Windows uses SJIS code. So we have to convert it if you want to use windows partition. Actualy, Linux commnd has that capability but there is not mentioning in the manual. It's easy. Just add two options to mount statement as following.
Add the line to /etc/fstab
/dev/hd* /mnt/win vfat codepage=932, iocharset=utf8,uid=500,gid=500 0 0
When you want to mount directly from command line
mount -t vfat -o codepage=932, iocharset=utf8,uid=500,gid=500 /dev/hd* /mnt/win
Change hd* and mount
point to suit your environment.
Fedora default code has been
changed to unicode. If you use older version, change utf8 to euc-jp.
uid and gid are option if you want to access by user account.
CD-ROM mount is also same.
Modified
date: