[Samba] smbmount codepage/iocharset settings vs NT4
abartlet at samba.org
Sun Oct 30 22:16:18 GMT 2005
On Sun, 2005-10-30 at 23:08 +0100, Leonard den Ottolander wrote:
> Hello Andrew,
> On Mon, 2005-10-31 at 08:34 +1100, Andrew Bartlett wrote:
> > > This setup is working pretty well, however on the NT box there are some
> > > files with names containing odd characters like accented characters and
> > > ellipsis. I'm a bit at a loss as to the correct settings of the smbmount
> > > iocharset and codepage parameters to use, and whether the display
> > > charset and unix charset options in smb.conf are relevant to the mounts.
> > You should use the CIFS VFS for your backup operations, as it will
> > correctly use unicode on the wire, and therefore allow a correct utf8
> > translation.
> > smbfs is considered deprecated, and certainly should not be used for new
> > installations.
> $ sudo mount -t cifs -o username=auser //david-bowie/Test /mnt/tmp
> [admin at george-harrison ~]$ ls /mnt/tmp
> één document á €50.doc ellipsis zijn heel fijn (…).doc ‘?颂ꋩ??
> één document.doc Nogmaals ellipsis ….doc “???????鲂닩?
> That indeed solves the issue for the more common cases. Luckily in real
> life I don't have to deal with these cases but what about the below 2 file
> names? They are printed correctly in smbclient.
> ‘‰’.doc A 24064 Sat Oct 29 18:57:55 2005
> “quotes”.doc A 24064 Sat Oct 29 18:53:40 2005
This will be smbclient correctly finding your 'display
charset' (localle) from the environment which the cifsvfs can't tell
from kernel space. You should use UTF8 everywhere if possible.
Andrew Bartlett http://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc. http://suse.de
Authentication Developer, Samba Team http://samba.org
Student Network Administrator, Hawker College http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20051031/d4e404c9/attachment.bin
More information about the samba