[Samba] smbmount codepage/iocharset settings vs NT4
Jeremy Allison
jra at samba.org
Sun Oct 30 22:09:33 GMT 2005
On Sun, Oct 30, 2005 at 11:08:06PM +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.
>
> Ok.
>
> $ sudo mount -t cifs -o username=auser //david-bowie/Test /mnt/tmp
> Password:
> [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.
Log a bug with Steve French. He should be using similar unicode
conversions as smbclient.
Jeremy.
More information about the samba
mailing list