Skip to content
Commit ddbaff53 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

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: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 73bb90ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment