From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 7 06:00:37 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02AA2106570B for ; Tue, 7 Apr 2009 06:00:37 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id E17DE8FC17 for ; Tue, 7 Apr 2009 06:00:36 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from eagle.syrec.org (ppp-71-139-21-14.dsl.snfc21.pacbell.net [71.139.21.14]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id n3760ahJ061649; Mon, 6 Apr 2009 23:00:36 -0700 (PDT) Message-ID: <49DAEBFF.9020502@rawbw.com> Date: Mon, 06 Apr 2009 23:00:31 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.21 (X11/20090322) MIME-Version: 1.0 To: "Shaowei Wang (wsw)" , freebsd-hackers@freebsd.org References: <49D6807D.1040902@rawbw.com> <2e566b9e0904062128id1c3312r9389c77b2a039c6a@mail.gmail.com> In-Reply-To: <2e566b9e0904062128id1c3312r9389c77b2a039c6a@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Is international support broken is msdosfs file system driver? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2009 06:00:37 -0000 Shaowei Wang (wsw) wrote: > > try -L zh_CN.euc . zh_CN.euc doesn't exist, I tried zh_CN.eucCN instead. Didn't work. I tried all zh_CN* and zh_TW* ones from /usr/share/locale/ -- none of them worked. Nut the garbage displayed by 'ls' changes depending on the one used. > > Windows file system use a different way to encode i18n chars, like > code page. > > There is a hacked version of msdosfs which can support UTF-8 locale. > http://groups.google.com/group/btload/web/msdosfs.tar.bz2 > and for using: > mount_msdosfs -L zh_CN.UTF-8 /dev/ad?s? /path/to/mount > > I've tried it and it's work. http://groups.google.com/group/btload/web/msdosfs.tar.bz2 doesn't exist. Somehow in Windows the disk is read correctly without specifying any additional options. So I guess this is a serious defect that msdosfs driver can't do the same. Yuri