[Samba] Re: AW: unicode conversion

Jérôme Fenal jerome.fenal at logicacmg.com
Fri Jan 23 15:13:54 GMT 2004

Michel Jouvin wrote:

> Bjoern,
> I have the same problem (see thread incorrect handling of files with 
> accentuated chars) with french accentuated chars. convmv allows samba 
> not to truncate the filename but the converted character is not the 
> right one. I tried different value for -f.
> An example :
> - I have a filename with french 'é' in it. In Samba 2.2.8 (and previous 
> versions, I never had any pb), it was encoded as character \202.
> - If I run convmv (-f iso-8859-1 -t utf8), this character is translated 
> to 2 chars \302\202 which is not displayed as é by Samba 3.
> - If I create a new file under Samba v3 with the french 'é' in the name, 
> it is encoded as \303\251.
> In these tests, Samba v3 is running with default unix charset (not 
> defined in smb.conf) and Samba v2 was running with default settings too.

Oui, set the following in smb.conf :

         unix charset            = UTF8

Then you will be able to see diacritics correctly on Windows clients.

The downside is that Solaris users won't see correctly these filenames 
if they don't have their environment correctly set.



Jérôme Fenal - Consultant Unix/SAN/Logiciel Libre
Groupe Expert & Managed Services - LogicaCMG France
http://www.logicacmg.com/fr/ - <mailto:jerome.fenal AT logicacmg.com>

More information about the samba mailing list