From b5121e2ed88504c7186569f1fd6f96a63b7151ca Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 1 Mar 2024 16:04:48 -0500 Subject: [PATCH] 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. --- src/locale/iconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/locale/iconv.c b/src/locale/iconv.c index 0b2d0016..4b7967a7 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" -- 2.11.4.GIT