Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Apr 2009 14:35:22 +0800
From:      "Shaowei Wang (wsw)" <wsw1wsw2@gmail.com>
To:        yuri@rawbw.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Is international support broken is msdosfs file system driver?
Message-ID:  <2e566b9e0904062335w19eecca5h8f30ee26ded6ac10@mail.gmail.com>
In-Reply-To: <49DAEBFF.9020502@rawbw.com>
References:  <49D6807D.1040902@rawbw.com> <2e566b9e0904062128id1c3312r9389c77b2a039c6a@mail.gmail.com> <49DAEBFF.9020502@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--001636e1fd83354aff0466f138a0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

On Tue, Apr 7, 2009 at 2:00 PM, Yuri <yuri@rawbw.com> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2e566b9e0904062335w19eecca5h8f30ee26ded6ac10>