cooking, programming and everyday life xrado

Sunday, June 11, 2006

Mount samba share with utf8

If you dont want to have problems with different characters betweenwindows and linux clients you have to mount samba share with utf8charset.
mount -t cifs -o username=user,password=pass,uid=clientuser,gid=clientgroup,iocharset=utf8  //server/share /mountpoint
or you can add it to /etc/fstab (in one line):
//server/code /mountpoint cifs username=user,password=pass,uid=clientuser,gid=clientgroup,iocharset=utf8 0   0
COMMENTS ARE DISABLED