Re: [U-Boot] [PATCH 1/1] efi_loader: MAX_UTF8_PER_UTF16 = 3

2017-10-09 Thread Heinrich Schuchardt
On 10/09/2017 08:43 PM, Alexander Graf wrote: > > >> Am 09.10.2017 um 20:39 schrieb Heinrich Schuchardt : >> >> A code point encoded by one UTF-16 symbol is converted to a >> maximum of three UTF-8 symbols. >> >> 0x could be encoded as 0xef 0xbf 0xbf. >> The first byte

Re: [U-Boot] [PATCH 1/1] efi_loader: MAX_UTF8_PER_UTF16 = 3

2017-10-09 Thread Alexander Graf
> Am 09.10.2017 um 20:39 schrieb Heinrich Schuchardt : > > A code point encoded by one UTF-16 symbol is converted to a > maximum of three UTF-8 symbols. > > 0x could be encoded as 0xef 0xbf 0xbf. > The first byte carries four bits, the second and third byte > carry six

[U-Boot] [PATCH 1/1] efi_loader: MAX_UTF8_PER_UTF16 = 3

2017-10-09 Thread Heinrich Schuchardt
A code point encoded by one UTF-16 symbol is converted to a maximum of three UTF-8 symbols. 0x could be encoded as 0xef 0xbf 0xbf. The first byte carries four bits, the second and third byte carry six bits each. A code point encoded by two UTF-16 symbols is converted to four UTF-8 symbols.