Hi, I'm a bit confused on whether multi-byte characters are fully supported or not. On Debian unstable (kernel 3.2.0-2-686-pae) I mount a CIFS share where one file name consists of Chinese characters (e.g.
(for some reason my initial comment got corrupted, here it goes again) I'm a bit confused on whether multi-byte characters are fully supported or not. On Debian unstable (kernel 3.2.0-2-686-pae) I mount a CIFS share where one file name consists of Chinese characters (e.g.
(arghhh... I had put some Chinese characters as a file name example and bugzilla ate the reset of the message!) I'm a bit confused on whether multi-byte characters are fully supported or not. On Debian unstable (kernel 3.2.0-2-686-pae) I mount a CIFS share where one file name consists of Chinese characters. When listing the contents of the share, the Chinese file name appears as ????????, while other file names consisting of Latin/Greek characters appear fine. gvfs/smbclient show the Chinese file name correctly. Is this something supposed to work? Is it a configuration issue? Regards
Chinese characters should work fine as long as they are within the scope of the standard UCS-2 and UTF8 lists. CIFS maps characters to UCS-2 by default on the wire (almost all modern servers use UCS-2 Unicode on the wire), and assuming that your client handles these and they are within both the UCS-2 character set and the UTF-8 character set - there should be no issues translating between them. Does this still cause problems for you?
Please reopen if you still see this problem and have a way to reproduce it. Chinese characters should be fully supported as long as they can be encoded in Unicode, just as they would be with smbclient (behavior should be similar, although smbclient uses userspace libraries for conversion of Unicode UCS-2 to UTF-8 while the kernel client uses the Linux kernel libraries for the conversions)