AW: [Samba] unicode conversion

Michel Jouvin jouvin at lal.in2p3.fr
Fri Jan 23 14:52:00 GMT 2004


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.

Any idea ?

Michel

--On vendredi 23 janvier 2004 14:53 +0100 Markus Thüer <zzz at kapuziner.org> 
wrote:

>
>
>> -----Ursprüngliche Nachricht-----
>> Von: Bjoern JACKE [mailto:samba at j3e.de]
>> Gesendet: Freitag, 23. Januar 2004 12:01
>> An: Markus Thüer
>> Cc: samba at lists.samba.org
>> Betreff: Re: [Samba] unicode conversion
>>
>>
>
>> > Well, I fixed that with
>> > setting unix charset = ISO8859-15. But the umlaute are still not
> shown
>> > rightly. New files are ok and I can change old ones by hand.
>>
>> so if ISO8859-15 works okay for you, you probably also had set
>> "character set = iso8859-15" in Samba 2. With Samba 3 you really
>> should leave "unix charset" to the default, utf8, you just have to
>> convert the old filenames.
>>
> After the conversion with convmv it works fine with unix charset = utf8
> but the umlaute I had with Samba 2.2.8 are still not back. Only new
> files or changed ones show it correctly. So it does not make a differnce
> if I use unix charset Iso8859-15 or convert the filenames and use utf8.
> But I really want my umlaute back. Dreallyealy have to change the
> filenames by hand?
>
> Markus
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba



     *************************************************************
     * Michel Jouvin                 Email : jouvin at lal.in2p3.fr *
     * LAL / CNRS                    Tel : +33 1 64468932        *
     * B.P. 34                       Fax : +33 1 69079404        *
     * 91898 Orsay Cedex                                         *
     * France                                                    *
     *************************************************************




More information about the samba mailing list