Help translating files with foreign character sets (samba/filesystem)
am 13.09.2007 10:59:16 von trojanfoe
I have an NSLU-2 (Slug) running OpenSlug which I use as my fileserver,
and several windows and linux client computers. I am having problems
with directories within the samba share that contain foreign
characters that are causing problems for the clients (only noticed the
problem on the linux client, however the windows clients may also
suffer). Essentially samba is translating directories that look like
this on the server:
Alceu Valença
into this on the client:
Alceu Valenga
And the client is unable to see the directory contents (it cannot do
the reverse translation). I could play around with the translation
options in Samba, but what I'd rather do is rename all files and
directories that contain "foreign" (non-ASCII) characters. Can anyone
think of a decent way of doing this?
Thanks in advance,
Andy
Re: Help translating files with foreign character sets (samba/filesystem)
am 13.09.2007 11:55:22 von trojanfoe
On 13 Sep, 09:59, trojanfoe wrote:
> I have an NSLU-2 (Slug) running OpenSlug which I use as my fileserver,
> and several windows and linux client computers. I am having problems
> with directories within the samba share that contain foreign
> characters that are causing problems for the clients (only noticed the
> problem on the linux client, however the windows clients may also
> suffer). Essentially samba is translating directories that look like
> this on the server:
>
> Alceu Valen=E7a
>
> into this on the client:
>
> Alceu Valenga
>
> And the client is unable to see the directory contents (it cannot do
> the reverse translation). I could play around with the translation
> options in Samba, but what I'd rather do is rename all files and
> directories that contain "foreign" (non-ASCII) characters. Can anyone
> think of a decent way of doing this?
>
> Thanks in advance,
> Andy
I have solved the problem (temporarily) but would still like to know
how to perform the rename properly
I added the following to smb.conf file:
display charset =3D UTF8
dos charset =3D UTF8
unix charset =3D UTF8
And mounted the share with 2 more options to smbmount:
iocharset=3Dutf8,codepage=3Dcp850
Cheers,
Andy