iconv: make utf-7.c able to use variants
commitef7b963280f0b110e589cbe29cdf31d88fb171f0
authorMax Gautier <mg@max.gautier.name>
Mon, 21 Mar 2022 12:12:05 +0000 (21 09:12 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 21 Mar 2022 16:23:56 +0000 (21 13:23 -0300)
tree52a81ad69445ad646a49caac3a0a280ba955d90b
parent09abb567a94e4e33504bb863f9d36f253287d333
iconv: make utf-7.c able to use variants

Add infrastructure in utf-7.c to handle variants. The approach comes from
iso646.c
The variant is defined at gconv_init time and is passed as a
supplementary variable.

Signed-off-by: Max Gautier <mg@max.gautier.name>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
iconvdata/utf-7.c