<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body dir="ltr" bgcolor="#ffffff" text="#000000">
Arie Skliarouk wrote:
<blockquote
cite="mid:AANLkTilqUS49IHEob3HkvCGzAxkkbtp4Eb43kSg-fV7b@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,<br>
<br>
</div>
</blockquote>
First, the title.<br>
<br>
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.<br>
<blockquote
cite="mid:AANLkTilqUS49IHEob3HkvCGzAxkkbtp4Eb43kSg-fV7b@mail.gmail.com"
type="cite">
<div dir="ltr">I tried to read hebrew-named files and directories
from a vfat-formatted DOK, but default mounting shows question marks
instead of hebrew characters.<br>
<br>
I tried to use iocharset option of mount, with the same result. Windows
shows the names properly.<br>
mount -o iocharset=iso8859-8 /dev/sdc /mnt/dok<br>
<br>
</div>
</blockquote>
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.<br>
<br>
Shachar<br>
<pre class="moz-signature" cols="72">--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
<a class="moz-txt-link-freetext" href="http://www.lingnu.com">http://www.lingnu.com</a>
</pre>
</body>
</html>