亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 5646 | 回復: 4
打印 上一主題 下一主題

Linux 下中文文件夾亂碼 [復制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2010-03-09 16:30 |只看該作者 |倒序瀏覽
系統(tǒng):SUSE Linux enterprise 11
服務(wù):samba
做好samba服務(wù)后,將本地機器的文件夾通過SSH傳輸?shù)椒⻊?wù)器 ,在服務(wù)器和SSH中看都是顯示中文。但是在windows下登錄samba服務(wù)器后顯示的確是亂碼。
同樣,如果通過windows下訪問samba服務(wù)器 ,并創(chuàng)建一個中文目錄。在服務(wù)器和SSH中查看也會變成亂碼  請高手指點。

下面我貼出我的SMB.CONF文件
  1. linux-ue5l:~ # vi /etc/samba/smb.conf
  2. # smb.conf is the main Samba configuration file. You find a full commented
  3. # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
  4. # samba-doc package is installed.
  5. # Date: 2009-02-23
  6. [global]
  7.         workgroup = WORKGROUP
  8.         printing = cups
  9.         printcap name = cups
  10.         printcap cache time = 750
  11.         cups options = raw
  12.         map to guest = Bad User
  13.         include = /etc/samba/dhcp.conf
  14.         logon path = \\%L\profiles\.msprofile
  15.         logon home = \\%L\%U\.9xprofile
  16.         logon drive = P:
  17.         usershare allow guests = Yes
  18.         add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody -s /bin/false %m$
  19.         domain logons = No
  20.         domain master = No
  21.         security = user
  22.         passdb backend = smbpasswd
  23.         wins support = No
  24. [homes]
  25.         comment = Home Directories
  26.         valid users = %S, %D%w%S
  27.         browseable = No
  28.         read only = No
  29.         inherit acls = Yes

  30. ## Share disabled by YaST
  31. # [netlogon]

  32. [item]
  33.         comment = item
  34.         inherit acls = Yes
  35.         path = /file/item/
  36.         read only = No

  37. [public]
  38.         comment = public
  39.         inherit acls = Yes
  40.         path = /file/public/
  41.         read only = No

  42.         iocharset=utf8
  43.         codepage=gb2312
復制代碼

論壇徽章:
0
2 [報告]
發(fā)表于 2010-03-09 17:03 |只看該作者
問題已經(jīng)解決。

[global]里添加了如下三行代碼

        dos char set = CP936
        unix char set = CP936
        display char set = CP936

其實這個代碼一開始我也添加了 只不過是添加到了 其他標簽下面   所以沒起作用。

論壇徽章:
0
3 [報告]
發(fā)表于 2010-03-09 20:28 |只看該作者
自問自答,呵呵!

這個,學習了

論壇徽章:
7
操作系統(tǒng)版塊每日發(fā)帖之星
日期:2015-06-16 22:20:00IT運維版塊每日發(fā)帖之星
日期:2015-06-17 22:20:00IT運維版塊每周發(fā)帖之星
日期:2016-01-07 23:04:26操作系統(tǒng)版塊每日發(fā)帖之星
日期:2016-05-17 06:20:00操作系統(tǒng)版塊每日發(fā)帖之星
日期:2016-05-21 06:20:00操作系統(tǒng)版塊每日發(fā)帖之星
日期:2016-07-05 06:20:0015-16賽季CBA聯(lián)賽之廣東
日期:2017-07-13 16:08:03
4 [報告]
發(fā)表于 2010-03-10 10:23 |只看該作者
提示: 作者被禁止或刪除 內(nèi)容自動屏蔽

論壇徽章:
0
5 [報告]
發(fā)表于 2010-03-10 10:50 |只看該作者
學到了,下次不會再出現(xiàn)這種問題了
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP