Date: Wed, 19 Jan 2005 17:59:57 -0800 From: David Yu <chiahsing@gmail.com> To: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: NTFS unicode converting problem Message-ID: <ad2ada4b05011917596a6ad7b5@mail.gmail.com> In-Reply-To: <ad2ada4b0501162128515533f3@mail.gmail.com> References: <ad2ada4b05011613445601befe@mail.gmail.com> <20050117020039.GB630@nu.org> <ad2ada4b05011618258c80402@mail.gmail.com> <20050117032255.GC630@nu.org> <ad2ada4b0501162128515533f3@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I wrote a patch for mounting NTFS as UTF-8. The patch is at http://www.cse.ucsd.edu/~chyu/ntfs-utf8.diff . After patch, you need to recompile the kernel module libiconv and ntfs (or the whole kernel if you do not use kernel module). This patch should solve the problem that the original libiconv in the kernel cannot convert characters to UTF-8 longer than 2 bytes per char. I ported the UTF-8 <-> UCS-2 converter from GNU libiconv into the kernel. However, I don't know how to implement "casetype" in the conversion function, this may cause some problem in case insensitive matching used in msdosfs. I think this patch should just be a temporary workaround. The libiconv in the kernel should be rewritten for a good structure.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ad2ada4b05011917596a6ad7b5>