[Samba] Filename Encoding Issues (umlaut, foreign letters) [Solved]

Holger Brückner lists at net-labs.de
Wed Jun 25 16:58:24 GMT 2003


Hello,

i finally solved the issue when upgrading a samba 2.x box to 3.0 with
foreign language letters, especially with german umlauts.

problem was that a not specially configured samba2.x box would use cp437
as default encoding, while samba3 uses utf-8.

i wrote a small python script which walks through a directory and does
filename conversion from cp437 to utf-8. if you change parameters you
could convert from any encoding known to python to any other encoding
(if it's possible with unicode).

it's available at http://tinyurl.com/f8ol

WARNING: use at your own risk, and only use it once on a given file !!! 
because the program can't determine the current encoding it will always
convert a filename from cp437 to utf-8, even if it was already in utf-8
encoding, which then results in a unaccessible file again.

thx for the great work on samba

Holger Brueckner
net-labs Systemhaus GmbH









More information about the samba mailing list