commit | e3fa74bf6174c022a841473d0847f8ba40641ba4 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Feb 27 14:08:37 2021 +0100 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sun Mar 07 17:37:13 2021 +0100 |
tree | 6f471341b3c6e6ae0fb98ad1193553dacf08825e | |
parent | 91fb08963417636bafd1edeefa1a68d9b346e79d [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>