NTFS unicode converting problem

Christopher Vance christopher at nu.org
Mon Jan 17 08:01:37 PST 2005


On Sun, Jan 16, 2005 at 01:44:04PM -0800, David Yu wrote:
>Hi, it seems that NTFS in FreeBSD uses a 16-bit long wchar to store
>filename. When I wanted to convert some Chinese filename into UTF-8,
>the conversion  was failed because a single Chinese character needs 3
>bytes in UTF-8. Is anyone already working on this problem? If not, I
>would like to do something about it. Any suggestions?

>From memory, old Windows used UCS-2, while newer Windows uses UTF-16.
Was the bad character in plane 0 or higher?

-- 
Christopher Vance


More information about the freebsd-fs mailing list