From owner-freebsd-questions@FreeBSD.ORG Sat Dec 9 16:08:22 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 098DB16A49E for ; Sat, 9 Dec 2006 16:08:22 +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 638E543CD2 for ; Sat, 9 Dec 2006 16:05:59 +0000 (GMT) (envelope-from weiwu@sdf.lonestar.org) Received: from localhost (unknown [127.0.0.1]) by bossdog.realss.com (Postfix) with ESMTP id CDE021C00E1 for ; Sun, 10 Dec 2006 00:07:01 +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 05902-13 for ; Sun, 10 Dec 2006 00:06:57 +0800 (CST) Received: from [218.193.55.195] (unknown [59.57.234.90]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by bossdog.realss.com (Postfix) with ESMTP id 18D231C003C for ; Sun, 10 Dec 2006 00:06:56 +0800 (CST) From: =?UTF-8?Q?=E5=BC=A0=E9=9F=A1=E6=AD=A6?= To: freebsd-questions@freebsd.org In-Reply-To: <45751370.7040704@mawer.org> References: <1165282478.5417.6.camel@joe.realss.com> <200612041946.15303.lane@joeandlane.com> <457507A4.40101@u.washington.edu> <457509AA.5030007@u.washington.edu> <1165300128.5417.36.camel@joe.realss.com> <45751370.7040704@mawer.org> Content-Type: text/plain; charset=UTF-8 Date: Sat, 09 Dec 2006 15:11:58 +0800 Message-Id: <1165648318.17356.16.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 Subject: has ANYONE used FreeBSD read Chinese directories from a Windows Share? (was: 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: Sat, 09 Dec 2006 16:08:22 -0000 If our understanding to the current problem is correct (that FreeBSD kernel iconv currently have problem with double-bit character-set), then there should have never been FreeBSD users that can actually mount and access a Windows Share that: I. is using GB2312 locale (that is, Windows Simplified Chinese version); II. have Chinese character in folder names 在 2006-12-05二的 17:36 +1100,Antony Mawer写道: > On 5/12/2006 5:28 PM, 张韡武 wrote: > > 在 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 > ... > > I don't know if this is at all useful, but I have come across the > following patches, which appear to have been ported from Darwin, to > improve handling of multibyte character sets: > > http://people.freebsd.org/~imura/kiconv/ > > It would be interesting to see these committed (if they are valuable), > as I know there are issues with FreeBSD mount_smbfs when operating > against the Mac OSX samba implementation, which (I am told) only speaks > UCS2. > > Given the work already gone into these, it would be nice to see them > finished off and committed... I wonder how many other smbfs-related > improvements may exist in Darwin that might be worth looking at? > > http://www.opensource.apple.com/darwinsource/10.4.8.x86/smb-217.18/ > > Cheers > Antony