Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2005 13:00:39 +1100
From:      Christopher Vance <christopher@nu.org>
To:        David Yu <chiahsing@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: NTFS unicode converting problem
Message-ID:  <20050117020039.GB630@nu.org>
In-Reply-To: <ad2ada4b05011613445601befe@mail.gmail.com>
References:  <ad2ada4b05011613445601befe@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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