Linux Windows,smb互访,中文是乱码的解决方法(转)

原帖http://blog.chinaunix.net/u/24624/showart_184609.html

 

Windows 到 linux
解决samba-3.x客户端中文乱码问题
dos charset = CP936
unix charset = cp936

解决samba-2.x客户端中文乱码问题
client code page=936
coding system=cap 

linux 到 Windows
将smb.conf中加入LANG=zh_CN.GB2312


在linux 中挂载简体中文的 Windows分区
mount -o codepage=936,iocharset=gb2312 /dev/hdaX /mount-point

 

 

 

xp与as5u2互访测试通过

你可能感兴趣的:(windows,linux,unix,测试,dos,System)