From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 7 06:35:23 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 A1C1B106572A for ; Tue, 7 Apr 2009 06:35:23 +0000 (UTC) (envelope-from wsw1wsw2@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.232]) by mx1.freebsd.org (Postfix) with ESMTP id 6E8DE8FC15 for ; Tue, 7 Apr 2009 06:35:23 +0000 (UTC) (envelope-from wsw1wsw2@gmail.com) Received: by rv-out-0506.google.com with SMTP id l9so2480184rvb.43 for ; Mon, 06 Apr 2009 23:35:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=KvUn/mE2tSEmURnZBEuM7BWhFjssTlGTjPm0oU2d7ps=; b=lVs5vfDShcbSaDGCF5CW3frQ4y3rY3ybrMeweZZlR8XSgFNbmn8BGXAECVsA5sMLvz LGYG8h8q1pl9WTM2AJW2t/KtE+GfRZxsrpXbXDbXuw0/CK0rVrDM3ZqGoE6dZAKpLFW3 Sf0EywrChDJv0tyoVwiWY1WhRk4LiwJ87NfWw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=n3g4+LZoYT0wEjQxkhqTaE+lpmQVQUKID4hkfqQ35h0NbnOCt4Hq1dxdrLNa/6xSrl TnLL3o0o47RnvkEBEVHn99FCEFGsKrQRfJmnOP6zVeIPnOjEehU0/T9Dee8Bd60m43Vk p1CAHruyBvXkxMSThWTUJ8kwHW/RxltDu5h8M= MIME-Version: 1.0 Received: by 10.142.73.19 with SMTP id v19mr1522234wfa.324.1239086123010; Mon, 06 Apr 2009 23:35:23 -0700 (PDT) In-Reply-To: <49DAEBFF.9020502@rawbw.com> References: <49D6807D.1040902@rawbw.com> <2e566b9e0904062128id1c3312r9389c77b2a039c6a@mail.gmail.com> <49DAEBFF.9020502@rawbw.com> Date: Tue, 7 Apr 2009 14:35:22 +0800 Message-ID: <2e566b9e0904062335w19eecca5h8f30ee26ded6ac10@mail.gmail.com> From: "Shaowei Wang (wsw)" To: yuri@rawbw.com Content-Type: multipart/mixed; boundary=001636e1fd83354aff0466f138a0 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org 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 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:35:24 -0000 --001636e1fd83354aff0466f138a0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On Tue, Apr 7, 2009 at 2:00 PM, Yuri wrote: > 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. > You locale should be same as the param which passed to the -L option and make sure your xterm(rxvt) can display chinese chars. > > >> 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. Please try the attached file. > > > 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. > I think so. > > > Yuri > > --001636e1fd83354aff0466f138a0--