Date: Tue, 05 Dec 2006 14:28:48 +0800 From: =?UTF-8?Q?=E5=BC=A0=E9=9F=A1=E6=AD=A6?= <weiwu@sdf.lonestar.org> To: Garrett Cooper <youshi10@u.washington.edu> Cc: freebsd-questions@freebsd.org Subject: Re: (repost) cannot read windows share Message-ID: <1165300128.5417.36.camel@joe.realss.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
在 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 <http://www.freebsd.org.cn/> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1165300128.5417.36.camel>