Mldonkey & Samba 中文支持

  最近在用Mldonkey,下中文内容的时候发现有时候中文会变成“____”,但有时候又正常。找了一些文章解决方法如下:

修改/etc/init.d/mldonkey脚本,加入
export LC_ALL=zh_CN.UTF-8
export LC_LANG=zh_CN.UTF-8

  另外Samba如果也碰到中文问题也可以用类似方法:

修改/etc/samba/smb.conf配置文件,加入:
[global]
dos charset = UTF-8
unix charset = UTF-8
display charset = UTF-8

Leave a Reply

Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).