From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 06:28:51 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EBC7A16A417 for ; Tue, 5 Dec 2006 06:28:51 +0000 (UTC) (envelope-from weiwu@sdf.lonestar.org) Received: from bossdog.realss.com (bossdog.realss.com [211.157.108.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id D52E643CA2 for ; Tue, 5 Dec 2006 06:28:13 +0000 (GMT) (envelope-from weiwu@sdf.lonestar.org) Received: from localhost (unknown [127.0.0.1]) by bossdog.realss.com (Postfix) with ESMTP id 3B9F41C0145; Tue, 5 Dec 2006 14:29:07 +0800 (CST) Received: from bossdog.realss.com ([127.0.0.1]) by localhost (bossdog.realss.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26183-08; Tue, 5 Dec 2006 14:29:04 +0800 (CST) Received: from [218.193.55.195] (unknown [59.57.233.87]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by bossdog.realss.com (Postfix) with ESMTP id 864CC1C0142; Tue, 5 Dec 2006 14:29:02 +0800 (CST) From: =?UTF-8?Q?=E5=BC=A0=E9=9F=A1=E6=AD=A6?= To: Garrett Cooper In-Reply-To: <457509AA.5030007@u.washington.edu> References: <1165282478.5417.6.camel@joe.realss.com> <200612041946.15303.lane@joeandlane.com> <457507A4.40101@u.washington.edu> <457509AA.5030007@u.washington.edu> Content-Type: text/plain; charset=utf-8 Date: Tue, 05 Dec 2006 14:28:48 +0800 Message-Id: <1165300128.5417.36.camel@joe.realss.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at bossdog.realss.com Cc: freebsd-questions@freebsd.org Subject: Re: (repost) cannot read windows share X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2006 06:28:52 -0000 在 2006-12-04一的 21:54 -0800,Garrett Cooper写道: > Also, I'm not sure if FreeBSD has been configured to run the particular > character set you need (nor am I sure where any documentation may be > regarding how to set that up), but you also want to explore getting that > solved in tandem with the mount_smbfs item. I read carefully with mount_smbfs and as far as I can tell mount_smbfs is using iconv lib which compiled as kernel module. After I run mount_smbfs I checked and made sure libiconv.ko is automatically loaded. According to documents, mount_smbfs automatically load this kernel module for charset conversion. My charset specified in commandline is "CP936" which is supported by iconv. iconv can also support "GB18030" "GB2312" "GBK" which are equivalents of CP936. I tried all these equivalents but none of them works. I also tried to specify -E UTF-8:junkjunk and got an error message says junkjunk is not supported, this shows if I don't get such error message, the charset I specified should be supported. Well, I didn't get such error message with "GB18030" "GB2312" "GBK"... > Regardless of whether or not you specify the right character code for > smbmount, if the character set isn't available to the system or setup > properly, your specifying the character set with mount_smbfs is pretty > much moot; I know because I use Japanese in Linux and was having similar > issues until I got everything setup on the machine for Japanese reading > and writing. FreeBSD China probably holds > the answers to your problem, if your system isn't setup to read/write > Chinese. Yes, thank you for pointing out this link, I actually checked that link before coming to this list. From the documents on www.freebsd.org.cn they did mentioned another problem related to Chinese share but I am pretty sure it's not my problem... > Isn't cross-language communication fun =\? In reality, yes. In computer world, I hope I never had these problems..... > -Garrett > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"