NTFS unicode converting problem

Christopher Vance c at nu.org
Mon Jan 17 08:01:36 PST 2005


On Sun, Jan 16, 2005 at 06:25:52PM -0800, David Yu wrote:
>In my case, those Chinese filenames are still in UCS-2LE, and all
>characters are in plane 0. I tried to modify codes so that it can
>directly store the conversion result into the dirent structure, but
>the convchr() funtion failed everytime for Chinese character while
>there is no problem with Ascii characters. I thought converting from
>UCS-2 to UTF-8 should be very easy?

Maybe the conversion routine disagrees with you about byte order?

-- 
Christopher Vance


More information about the freebsd-fs mailing list