[linux-cifs-client] Re: problem with cifs.mount and codepage

Steve French (smfltc) smfltc at us.ibm.com
Tue Jul 24 16:04:27 GMT 2007


> I have a problem, when using german Umlauts, which are display wrong in
> the mounted device, compared to a windos machine or using konqueror.
Try mounting with mount option iocharset e.g.
	mount -t cifs //server/share /mnt -o iocharset=cp850

Most or all modern CIFS servers (Windows, Samba, NetApp) use Unicode
(UCS-16) when transferring file and directory names.  Perhaps your
server has disabled Unicode (perhaps if it were very, very old Samba,
you can see the version of the server by looking at the line "NOS:"
in the cifs debug info - ie "cat /proc/fs/cifs/DebugData).  

Another possibility is that the default charset for your kernel is not
UTF-8 (which maps nicely to/from Unicode/UCS-16) as it is for
most Linux systems these days.

If this does not work, email back the server version 
(from /proc/fs/cifs/DebugData) or even better send a
small wireshark trace or attach it to a new bugzilla.samba.org bug
(see http://wiki.samba.org/index.php/Capture_Packets).



More information about the linux-cifs-client mailing list