On Thursday 27 March 2003 20:32, Stiven Andre wrote:
> Hi list.
> I have surfed the IGLU web site to find any information on how to see
> Hebrew file names in console. Everything I found were tips like "use
> codepage=862" or "use iocharset" but no useful guide that will explain
> the process of all the configuration I should make. May be there is any

Anyone feels like writing something coherent for IGLU's FAQmatic?

> Can you please find a solution for me or give me a direction where to
> search for one ?

From brief Googling, I learned that SAMBA 2.x provides a very limited set of 
internal encodings. However, the situation has considerably improved in SAMBA 
3.0 (which is still in beta stages -- BTW, from my experiences, programs 
which tend to make a major release every few years, like SAMBA, are much more 
usable in their so-called "unstable" releases, so you might consider 
upgrading).

SAMBA 3.0's smb.conf supports the following settings:
unix charset = <charset>
dos charset = <charset>
display charset = <charset>

(where <charset> is any charset supported by iconv; do "iconv -l" to list them 
all; note that SAMBA 2.x doesn't use iconv and supports only a very limited 
list of encodings, UTF-8 not being among them)

"unix charset" is the charset which is used to store the filenames on your 
Unix filesystem (ext2, reiser, it doesn't matter). I suggest you to set the 
"UTF-8" charset and set the "he_IL.UTF-8" locale in your configuration 
(/etc/sysconfig/i18n on RedHat).

"dos charset" is the charset which is used for all kinds of older clients, 
pre-Windows95. If what I've read is correct, Windows 95 already talks in 
Unicode over the network and doesn't need this charsets nonsense. However, to 
be on the safe side, you can set it to "cpp1255" (the Windows Hebrew 
codepage).

"display charset" is the charset of your locale, so that tools like 
"smbclient" would know how to display their filenames. Since you've chosen 
"he_IL.UTF-8", then set "UTF-8" here as well.

---

But back to your question: SAMBA 2.x simply writes the filenames to the Unix 
disk just as it received them from the network, in the Windows machine's 
local codepage. I'd guess that codepage would be "1255", so you should use a 
locale with the "CP1255" charset.

Run:

localedef -i he_IL -f CP1255 he_IL.CP1255

and set "etc/sysconfig/i18n" to use the "he_IL.CP1255" locale.


================================================================To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to