Hi,

The solution is very simple, you need to convert the Hebrew file names on the 
server to UTF-8 encoded.

Here is a script adopted from the SAMBA docs:
 find /path/to/share -type f -exec bash -c 'CP="{}"; ISO=`echo -n "$CP" | \
iconv -f cp862  -t UTF-8`; if [ "$CP" != "$ISO" ]; then mv "$CP" \
"$ISO"; fi' \;

Bye
Gal


On Sunday 26 October 2003 20:07, Dotan Mazor wrote:
> Well, you could try to write "utf-8" instead of "utf". I didn't have to
> change anything, but then, I got all my Hebrew files changed to undescores
> (like this: ________.___), which made me brake a few chairs.
>
> Oh well, I guess you better take advices from someone who knows at least a
> bit of what he's talking about...
>
> Dotan
> ---
> On Tue, 30 Sep 2003 13:25:03 +0200, Ben-Nes Michael <[EMAIL PROTECTED]>
>
> wrote:
> > Hi All & Shana Tova
> >
> > im trying to move my files from samba 2.x to 3.x version.
> >
> > I mounted the old samba on /mnt/oldsmb but I couldn't find how to tell
> > it to
> > load it as utf ( on the Linux side ) and I just get gibberish on console,
> > win$ & putty.
> >
> > I think its something with the charset but I couldn't find the right
> > combination:
> >
> > mount -t smbfs -o iocharset=he_IL.utf,codepage=win1255 //Share2/documents
> > /mnt/oldsmb/
> >
> > --------------------------
> > Canaan Surfing Ltd.
> > Internet Service Providers
> > Ben-Nes Michael - Manager
> > Tel: 972-4-6991122
> > Fax: 972-4-6990098
> > http://www.canaan.net.il
> > --------------------------
> >
> >
> >
> > =================================================================
> > 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]


=================================================================
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