Re: [U-Boot] [PATCH 6/8] video/console: Convert UTF-8 codes to CP437 code points

2019-03-31 Thread André Przywara
On 31/03/2019 19:28, Alexander Graf wrote: Hi Simon, Alex, > On 31.03.19 04:18, Simon Glass wrote: >> Hi Andre, >> >> On Fri, 22 Mar 2019 at 19:32, Andre Przywara wrote: >>> The character set used by U-Boot's built-in fonts is the old "code >>> page 437" (from the original IBM PC). >>> However p

Re: [U-Boot] [PATCH 6/8] video/console: Convert UTF-8 codes to CP437 code points

2019-03-31 Thread Alexander Graf
On 31.03.19 04:18, Simon Glass wrote: > Hi Andre, > > On Fri, 22 Mar 2019 at 19:32, Andre Przywara wrote: >> The character set used by U-Boot's built-in fonts is the old "code >> page 437" (from the original IBM PC). >> However people would probably expect UTF-8 on a terminal these days, the >> U

Re: [U-Boot] [PATCH 6/8] video/console: Convert UTF-8 codes to CP437 code points

2019-03-30 Thread Simon Glass
Hi Andre, On Fri, 22 Mar 2019 at 19:32, Andre Przywara wrote: > > The character set used by U-Boot's built-in fonts is the old "code > page 437" (from the original IBM PC). > However people would probably expect UTF-8 on a terminal these days, the > UEFI code definitely does. > > Provide a conver

[U-Boot] [PATCH 6/8] video/console: Convert UTF-8 codes to CP437 code points

2019-03-22 Thread Andre Przywara
The character set used by U-Boot's built-in fonts is the old "code page 437" (from the original IBM PC). However people would probably expect UTF-8 on a terminal these days, the UEFI code definitely does. Provide a conversion routine to convert a UTF-8 byte stream into a CP437 character code. This