Search:  
Gentoo Wiki

HOWTO_have_Chinese_filenames_in_Samba


Please format this article according to the guidelines and Wikification suggestions, then remove this notice {{Wikify}} from the article


Have you system Chinese-enabled

Follow this great guide [1] to let your gentoo to support Chinese first.


Make your gentoo UTF-8 Ready

Check this out. UTF-8 & [2]


Samba

I assume you have installed Samba successfully. If not please refer to the following: HOWTO Setup Samba

Then in your /etc/samba/smb.conf, add these lines:

[global]   
dos charset = UTF-8
unix charset = UTF-8
display charset = UTF-8

Now mount the shared directory from Windows by the following command:

smbmount //servername/shared_directory destination_dir -o iocharset=utf8,codepage=cp950

Note: There is no space around the comma.


You should have the filenames displayed in Chinese properly!


Contributor


13:49, 12 Jun 2005 (GMT) Bernard Fok, Melbourne

Retrieved from "http://www.gentoo-wiki.info/HOWTO_have_Chinese_filenames_in_Samba"

Last modified: Mon, 08 Sep 2008 11:12:00 +0000 Hits: 7,591