efi_loader: carve out utf_to_cp()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 27 Feb 2021 13:08:36 +0000 (14:08 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 7 Mar 2021 16:37:13 +0000 (17:37 +0100)
commit73bb90cabcdffcd528d1002a12779779196bf200
tree5c4fb2a3ebecf079f4cadacc41aa9e45354e69a0
parent70616a1ed8c7fe22aa19eb674915623bd236926f
efi_loader: carve out utf_to_cp()

Carve out a function to translate a Unicode code point to an 8bit codepage.

Provide a unit test for the new function.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/charset.h
lib/charset.c
lib/efi_loader/efi_unicode_collation.c
test/unicode_ut.c