[Samba] 3.0.1 : incorrect handling of files with accentuated chars

Michel Jouvin jouvin at lal.in2p3.fr
Thu Jan 22 13:44:41 GMT 2004


In fact, I looked again in the documentation and found the information in 
the HowTO. This problem is related to Unicode support introduced in v3 and 
the use of UTF8 (instead of ASCII) to encode characters on Unix side.

The problem affects only existing filenames. Newly created files (by v3) 
are correctly handled.

In fact, using the option :

	unix charset = ASCII

should revert to previous encoding. In my case, it fixes the name 
truncation but doesn't display accentuated chars properly. May be some 
other values like ISO8859-1 shoud be tried.

The best solution, proposed in the HowTO, is probably to use the convmv 
utility (<http://j3e.de/linux/convmv/>) which is supposed to convert 
filenames from an encoding like ASCII to UTF8. This allow to move to UTF8 
which is undoubtly the best solution.

Michel

--On mercredi 21 janvier 2004 21:45 +0100 Dexter Filmore 
<Dexter.Filmore at gmx.de> wrote:

>
> There are new settings for character encoding in 3.0, check manpage.
> Tho I share your agony, I am trying to get german special chars right for
> more thana year now.
>
>
> On Wed, 21 Jan 2004 19:03:01 +0100
> Michel Jouvin <jouvin at lal.in2p3.fr> wrote:
>
>> Hi,
>>
>> I recently upgraded from 2.2.8 to 3.0.1 (keeping the same configuration
>> file). As a consequence, file names containing a character whose code is
>> >=  128 (accentuated chars) is incorrectly truncated at this character
>> position.
>>
>> This was not the case with previous version and I saw no new option
>> related  to this in v3. May be I missed something...
>>
>> Thank you in advance for any help.
>>
>> Michel
>>
>>      *************************************************************
>>      * 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                                                    *
>>      *************************************************************
>>
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  http://lists.samba.org/mailman/listinfo/samba
>>
>
>
> --
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> FGCS d--(+)@ s-:+ a- C+++(++++) UL+>++++ P+>++ L+++>++++ E-- W++ N o? K-
> w--(---) !O M+ V- PS++(+) PE(-) Y+ PGP(-) t++(---)@ 5 X+(++) R+(++)
> tv--(+)@  b+(+++) DI+++ D G++ e* h>++ r%>* y?
> ------END GEEK CODE BLOCK------
>
> http://www.againsttcpa.com - nothing fights like the opposition
> --
> 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