Samba也要utf8

今天買了一顆HD加到Server, 打算跑Samba Server來將我的mp3, animations等一些東西全放到這, 順便還可以養一下動物:p, Samba裝好後修改smb.conf在global section內加入下面三行, 讓Samba完全utf8 ^^

[global]
dos charset = UTF8
unix charset = UTF8
display charset = UTF8

再來用smbmount也都ok, 但中文就是一直會缺字, 我smbmount用的參數為iocharacter=utf8,codepage=cp950, 後來才發現原來codepage設錯了, cp950是big5的codepage number, 如果是utf8環境的話, 要用codepage=65001, 記下來以免下次忘了^=^

BTW, utf8的samba應該M$也看的到吧!!還沒試過, 不過2k/xp應該原本就是utf8了(因為日韓文看的到阿!), 詳細等有空再試吧!目前手邊沒M$的PC~XD

» http://ifgh.blogdns.net/blog/post/1/222

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <h1> <h2> <h3> <h4> <h5> <h6> <em> <strong> <code> <del> <blockquote> <q> <sub> <p> <br> <ul> <ol> <li> <dl> <dt> <dd> <a> <b> <u> <i> <sup> <acronym> <pre> <img>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Images can be added to this post.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.