Samba share encoding with UTF-8 issue
14,526
Try in /etc/samba/smb.conf, global section:
dos charset = cp866
unix charset = UTF8
display charset = UTF8
Comments
-
Kimmi 7 monthsI use samba to share folder between Ubuntu and Windows. And here comes the problem that I want to use UTF-8 encoding in both Linux and Windows.
However, when I forced to encode file with UTF-8 in windows, I check the encoding in Linux, it said it was ASCII.
It automatically encoded both files and folders in Ubuntu with ASCII.
How to fix it? How to write samba configure file?
/etc/samba/smb.conf?I want both windows and Ubuntu encode with UTF-8.
-
Dimitri Kopriwa about 4 yearsLooking at samba.org/samba/docs/4.3/man-html/smb.conf.5.html it seems to beutf-8and notutf8. Also why would you usecp866if you can usecp932?