Re: [U-Boot] [PATCH v2 2/5] lib: add some utf16 handling helpers

2017-09-11 Thread Alexander Graf
On 11.09.17 16:34, Rob Clark wrote: On Mon, Sep 11, 2017 at 10:13 AM, Alexander Graf wrote: On 09.09.17 12:47, Rob Clark wrote: We'll eventually want these in a few places in efi_loader, and also vsprintf. Signed-off-by: Rob Clark UEFI wants UCS-2 (the 16 bit only Windows thing), not

Re: [U-Boot] [PATCH v2 2/5] lib: add some utf16 handling helpers

2017-09-11 Thread Rob Clark
On Mon, Sep 11, 2017 at 10:13 AM, Alexander Graf wrote: > > > On 09.09.17 12:47, Rob Clark wrote: >> >> We'll eventually want these in a few places in efi_loader, and also >> vsprintf. >> >> Signed-off-by: Rob Clark > > > UEFI wants UCS-2 (the 16 bit only Windows thing), not UTF16 (the > may-also

Re: [U-Boot] [PATCH v2 2/5] lib: add some utf16 handling helpers

2017-09-11 Thread Alexander Graf
On 09.09.17 12:47, Rob Clark wrote: We'll eventually want these in a few places in efi_loader, and also vsprintf. Signed-off-by: Rob Clark UEFI wants UCS-2 (the 16 bit only Windows thing), not UTF16 (the may-also-be-32bit-wide thing). So I'm not sure how far away this code is from the ul

[U-Boot] [PATCH v2 2/5] lib: add some utf16 handling helpers

2017-09-09 Thread Rob Clark
We'll eventually want these in a few places in efi_loader, and also vsprintf. Signed-off-by: Rob Clark --- include/charset.h| 65 lib/Makefile | 1 + lib/charset.c| 101 +++ lib/ef