diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-02-27 14:08:37 +0100 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-03-07 17:37:13 +0100 |
commit | ddbaff53da5b99563fa371db0b09544e139fdabb (patch) | |
tree | 6f471341b3c6e6ae0fb98ad1193553dacf08825e /lib/efi_loader/efi_console.c | |
parent | 73bb90cabcdffcd528d1002a12779779196bf200 (diff) |
lib/charset: utf8_get() should return error
utf8_get() should return an error if hitting an illegal UTF-8 sequence and
not silently convert the input to a question mark.
Correct utf_8() and the its unit test.
console_read_unicode() now will ignore illegal UTF-8 sequences.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib/efi_loader/efi_console.c')
0 files changed, 0 insertions, 0 deletions