Re: [PATCH 1/6] efi: move utf16 string functions to efi.h

From: David Woodhouse
Date: Wed Apr 10 2013 - 07:18:50 EST


On Tue, 2013-04-09 at 15:00 -0700, Mike Waychison wrote:
> fwiw, I was tempted to rename these to ucs2_*() last time I was here.

We should definitely do that. The functions aren't implementing UTF-16.

Note that Windows *does* now implement UTF16 I think, but EFI still
claims to be UCS2 only.

If I interpret this correctly, the claim is basically that Windows was
"always" actually UTF16, but just never used any of the code points
where you'd be able to notice the difference:
http://blogs.msdn.com/b/michkap/archive/2005/05/11/416552.aspx

--
David Woodhouse Open Source Technology Centre
David.Woodhouse@xxxxxxxxx Intel Corporation



Attachment: smime.p7s
Description: S/MIME cryptographic signature