Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 2009 04:43:52 +0800
From:      Buganini <buganini@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: patch: let msdosfs(vfat)/ntfs to support UTF-8 locale well
Message-ID:  <e5b1e8d40902121243x2b691117gce496f3401e4ba85@mail.gmail.com>
In-Reply-To: <20090212183440.GA1446@tops>
References:  <98869b7c0902100112s6dae54bm4c14487076ceb75c@mail.gmail.com> <20090212183440.GA1446@tops>

next in thread | previous in thread | raw e-mail | index | archive | help
Anyone know about the behaviors on short filename? Are they all the
same in different windows version?
Some articles said it dont store long filename when filename is 8.3
compliant, but the behavior on Windows XP is different. And according
to pagxir (patch's author), the patch doesn't convert encoding for
short filename. Whether the behavior was changed or not, I think the
conversion for short filename is needed to comfort all cases.

On Fri, Feb 13, 2009 at 2:34 AM, Gleb Kurtsou <gleb.kurtsou@gmail.com> wrot=
e:
> On (10/02/2009 17:12), =E8=A3=B4=E5=9B=BD=E5=85=B4 wrote:
>> I write a patch to support UTF-8 locale well. I think it maybe help
>> for some FreeBSD user.
>> follow link is the patch (base on FreeBSD 7.1):
>> http://btload.googlegroups.com/web/msdosfs.patch?gda=3DMzIscT8AAABs_gmy4=
a1S9lRiXjEy-V5OpwtI67JnIGlz0zr18tjObOtoi5oIt3BJMRGeqGBbbj-ccyFKn-rNKC-d1pM_=
IdV0
>> the full tar.bz2 package:
>> http://btload.googlegroups.com/web/msdosfs.tar.bz2?gda=3DIG1pBkEAAABs_gm=
y4a1S9lRiXjEy-V5OpwtI67JnIGlz0zr18tjObNLRc95Ps2S1UISaL0WhuitTCT_pCLcFTwcI3S=
ro5jAzlXFeCn-cdYleF-vtiGpWAA
>>
>> I also will patch for ntfs driver
>> http://btload.googlegroups.com/web/ntfs.patch?gda=3DOqsHoDwAAABs_gmy4a1S=
9lRiXjEy-V5O7RN7t-m4MjZ-5dQn_EvaqDVCWO9_HyYEQJyRQYPtRCL9Wm-ajmzVoAFUlE7c_fA=
t
>> http://btload.googlegroups.com/web/ntfs.tar.bz2?gda=3DzErXED4AAABs_gmy4a=
1S9lRiXjEy-V5O7RN7t-m4MjZ-5dQn_EvaqG3K0t6fVz8SMYStF_2dqCPjsKXVs-X7bdXZc5buS=
fmx
>>
>> The Chinese characters in the fat32 partition can be displayed correctly=
 now.
>>
>> when mount windows partitions, you should do like this:
>> mount_ntfs -C UTF-8 /dev/ad?s? /path/to/mount
>> mount_msdosfs -L zh_CN.UTF-8 /dev/ad?s? /path/to/mount
>
> I've also looked at it recently but my idea was to update kiconv to
> handle ucs-2 (or whatever it is) -> utf-8 conversion in kernel. kiconv
> supports different translation methods. Current implementation just
> creates a table for ucs2->utf-8 conversion and passes it too kernel. It
> seems it can't even handle all of unicode chars.
> Fixing kiconv would be a better solution, imho.
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org=
"
>



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