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

Andrew Bartlett abartlet at samba.org
Thu Jan 22 21:07:39 GMT 2004


On Fri, 2004-01-23 at 00:44, Michel Jouvin wrote:
> 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

NEVER set this.   For UTF8 is the same as ascii, for the bytes that that
ASCII charset covers.   

Instead, if you cannot convert the filesystems then find the right value
for your national character set.

> 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.

Indeed.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20040123/246feecd/attachment.bin


More information about the samba mailing list