Date: Tue, 10 Feb 2009 17:12:33 +0800 From: =?UTF-8?B?6KO05Zu95YW0?= <pagxir@gmail.com> To: freebsd-current@freebsd.org Subject: patch: let msdosfs(vfat)/ntfs to support UTF-8 locale well Message-ID: <98869b7c0902100112s6dae54bm4c14487076ceb75c@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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=MzIscT8AAABs_gmy4a1S9lRiXjEy-V5OpwtI67JnIGlz0zr18tjObOtoi5oIt3BJMRGeqGBbbj-ccyFKn-rNKC-d1pM_IdV0 the full tar.bz2 package: http://btload.googlegroups.com/web/msdosfs.tar.bz2?gda=IG1pBkEAAABs_gmy4a1S9lRiXjEy-V5OpwtI67JnIGlz0zr18tjObNLRc95Ps2S1UISaL0WhuitTCT_pCLcFTwcI3Sro5jAzlXFeCn-cdYleF-vtiGpWAA I also will patch for ntfs driver http://btload.googlegroups.com/web/ntfs.patch?gda=OqsHoDwAAABs_gmy4a1S9lRiXjEy-V5O7RN7t-m4MjZ-5dQn_EvaqDVCWO9_HyYEQJyRQYPtRCL9Wm-ajmzVoAFUlE7c_fAt http://btload.googlegroups.com/web/ntfs.tar.bz2?gda=zErXED4AAABs_gmy4a1S9lRiXjEy-V5O7RN7t-m4MjZ-5dQn_EvaqG3K0t6fVz8SMYStF_2dqCPjsKXVs-X7bdXZc5buSfmx 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98869b7c0902100112s6dae54bm4c14487076ceb75c>