[Samba] Charset problem

Gémes Géza geza at kzsdabas.sulinet.hu
Tue Apr 13 20:55:50 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthias Spork írta:
| Boogerman schrieb:
|
|> I just migrated to Samba 3.0. I'm using Spanish Windows clients, and
|> when I
|> create a file with a spanish character in its filename (ie: menú), in
|> Windows Explorer it looks ok, but when I do "ls" in Linux I get something
|> slightly different (ie: menú). This didn't happen in samba 2.x (I was
|> previously using the now missing option charset="iso-8859-1").
|>
|> I tried setting unix charset to UTF-8, ASCII and CP850 without
|> success. Any
|> suggestions?
|
|
| Since Samba 3 all filenames will be stored in Unicode.
|
| matze
My Mandrake 9.2 box has an ISO-8859-2 (Hungarian) charset, here  is my
testparm -s -v | grep charset
output:
~        dos charset = CP852
~        unix charset = ISO8859-2
~        display charset = LOCALE

I've set just the first two values, the third is at is its default.

That setup works fine for both Unix, Win9x and WinNT clients.

So in your case I would suggest:
~        dos charset = CP850
~        unix charset = ISO8859-1
~        display charset = LOCALE


Cheers,

Geza
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAfFPW/PxuIn+i1pIRAnRUAJ96rdwoIY4IlsT1S/IZR2Md18Tp+ACdH9uZ
rRg5N5yKU8+cXFPe1qXY4U0=
=p5OV
-----END PGP SIGNATURE-----



More information about the samba mailing list