Hi! All: I'm working on add unicode support in samba. However, I meet a question as the following description, please advise me. My smb.conf sets: dos charset =3D UTF8 display charset =3D UTF8 unix charset =3D UTF8 I use smbmount //share /path -o username=3Duser,passwd=3D1234 to mount a directory to a user's home dir. Original I use ASCII charset, and find traditional chinese not supported, thus I change to UTF8, and I can see traditional chinese. However, when I use CIFS to access the same share, I saw the chinese file name can't be decoded. After search the website, I've tried using with options codepage=3Dcp950/utf8,iocharset=3Dcp950/utf8, but nothing changed. Thanks in advance. Best, Latrell
---------------------------- Original Message ---------------------------- Subject: Unicode support in samba From: "Gayathri Sundar" <gsundar@intoto.com> Date: Mon, December 19, 2005 11:51 pm To: samba@lists.samba.org -------------------------------------------------------------------------- Hi., Does samba (smb client) connect to servers whose names are in UTF-16 as part of internationalization? i.e if I have a chinese installation on windows 200X, and the server name is in chinese charset, can the smb client enumerate that and list the chinese name? I searched the net for this information and didnt get any. I see only unicode file and share names, and no mention of server names in unicode at all. For example can the LANMAN NetServerEnum2 comeback with unicode server names on the wire? Please assist. Thanks --Gayathri
Hi., Does samba (smb client) connect to servers whose names are in UTF-16 as part of internationalization? i.e if I have a chinese installation on windows 200X, and the server name is in chinese charset, can the smb client enumerate that and list the chinese name? I searched the net for this information and didnt get any. I see only unicode file and share names, and no mention of server names in unicode at all. For example can the LANMAN NetServerEnum2 comeback with unicode server names on the wire? Please assist. Thanks --Gayathri
On Mon, Dec 19, 2005 at 11:51:08PM -0800, Gayathri Sundar wrote:> Hi., > > Does samba (smb client) connect to servers whose names are in UTF-16 > as part of internationalization? > i.e if I have a chinese installation on windows 200X, and the server name > is in chinese charset, can the smb client enumerate that and list the > chinese name?Yes, that should work.> I searched the net for this information and didnt get any. I see only > unicode file and share names, and no mention of server names in unicode at > all. For example can the LANMAN NetServerEnum2 comeback with unicode > server names on the wire?No, lanman calls use DOS codepages. So long as the DOS codepage is set correctly on the client then the server name should be seen correctly. Jeremy.