diff options
author | Rich Felker <dalias@aerifal.cx> | 2024-03-01 16:04:48 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2024-03-01 16:04:48 -0500 |
commit | b5121e2ed88504c7186569f1fd6f96a63b7151ca (patch) | |
tree | 5961ec3203188dbc3d0c07a751f0da1b7ca9e7a3 | |
parent | ca6f46aff1fc89c3d06ff9e85ab8c7871a695924 (diff) | |
download | musl-b5121e2ed88504c7186569f1fd6f96a63b7151ca.zip musl-b5121e2ed88504c7186569f1fd6f96a63b7151ca.tar.gz musl-b5121e2ed88504c7186569f1fd6f96a63b7151ca.tar.bz2 |
iconv: add aliases for GBK
these are taken from the IANA registry, restricted to those that match
the forms already used for other supported character encodings.
-rw-r--r-- | src/locale/iconv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale/iconv.c b/src/locale/iconv.c index 0b2d001..4b7967a 100644 --- a/src/locale/iconv.c +++ b/src/locale/iconv.c @@ -52,7 +52,7 @@ static const unsigned char charmaps[] = "shiftjis\0sjis\0cp932\0\0\321" "iso2022jp\0\0\322" "gb18030\0\0\330" -"gbk\0\0\331" +"gbk\0cp936\0windows936\0\0\331" "gb2312\0\0\332" "big5\0bigfive\0cp950\0big5hkscs\0\0\340" "euckr\0ksc5601\0ksx1001\0cp949\0\0\350" |