Subject: Re: CVS commit: src/sys/dev/usb
To: Dieter Baron <email@example.com>
From: Bill Studenmund <firstname.lastname@example.org>
Date: 02/26/2007 14:58:03
Content-Type: text/plain; charset=us-ascii
On Mon, Feb 26, 2007 at 03:08:44PM +0100, Dieter Baron wrote:
> In article <20070226134440.DC9502150A@cvs.netbsd.org> Matthias wrote:
> Please note that fs/unicode.h does not handle UTF-16 surrogates
> correctly. What's worth, the API does not allow this to be fixed.
> (Unicode defines more characters than fit in a 16 bit int. In
> UTF-16, a character with a code above 0xffff is represented as two
> surrogate values. In UTF-8, it is encoded as a 5 byte sequence.
> Encoding/decoding one 16 bit value at a time does not allow for this
> conversion to be done correctly.)
Please feel free to suggest ways that this should be fixed. Patches are=20
We all would like better unicode handling, and AFAIK no one is wedded to=20
the existing interface.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
-----END PGP SIGNATURE-----