Arie Skliarouk wrote:
Hi,

First, the title.

There is no such thing "non-unicode vfat". FAT file systems comes in two flavors. One is the classic, pre-Windows 95, version, which only supported ASCII (no Hebrew at all). The other is the LFN extension to FAT, which is encoded in UTF-16 (i.e. - unicode). In other words, if the DoK has Hebrew names, they are in Unicode.
I tried to read hebrew-named files and directories from a vfat-formatted DOK, but default mounting shows question marks instead of hebrew characters.

I tried to use iocharset option of mount, with the same result. Windows shows the names properly.
mount -o iocharset=iso8859-8 /dev/sdc /mnt/dok

The "iocharset" mount option chooses which *local* encoding to convert the names on the disk, and should match your LC_CTYPE value (as shown by the "locale" command). In all likelyhood, your locale is set to UTF8, and this is what you need to give iocharset as well.

Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to