问题:
我mount了windows的共享后,所有中文名的文件显示的是乱码。看了如下文章解决了。
原文:
----------------begin-----------------
首先 vi /etc/fstab
在最后加上这一句
//xxx.xxx.xxx.xxx/共享 /media/smb smbfs defaults,username=用户名,password=密码,iocharset=utf8,codepage=cp936,uid=0, dmask=777,fmask=777,gid=46 0 1
关键是那个 CodePage,呵呵中文就能正常显示了
本文来自:http://www.linuxpk.com/65811.html
----------------end-------------------
我当时用的命令是:
mount -t smbfs -o username=user_name,password=password,iocharset=utf8,codepage=cp936 //ip_address/disk$ /mnt/disk
的确显示了中文
感谢原文作者!
[转帖]Ubuntu下解决Windows共享(SMB,Samba)乱码问题
-
- 帖子: 5
- 注册时间: 2008-01-30 10:47