locale: Introduce translate_unicode_codepoint into linereader.c
authorFlorian Weimer <fweimer@redhat.com>
Tue, 5 Jul 2022 07:05:22 +0000 (09:05 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 5 Jul 2022 07:06:39 +0000 (09:06 +0200)
commit7dcaabb94caa00c9dd68a207ea62fef5a2551ac4
treeb1644faca8a3755082920d45b07496ee5d3c482b
parent19d494445981a09503e4a0175732745c39dd7c21
locale: Introduce translate_unicode_codepoint into linereader.c

This will permit reusing the Unicode character processing for
different character encodings, not just the current <U...> encoding.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
locale/programs/linereader.c