hebrew letters in non-unicode vfat
Shachar Shemesh
shachar at shemesh.biz
Sat Jun 19 00:08:26 IDT 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20100619/e85b47ff/attachment.html>
More information about the Linux-il
mailing list