summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2024-03-01 16:04:48 -0500
committerRich Felker <dalias@aerifal.cx>2024-03-01 16:04:48 -0500
commitb5121e2ed88504c7186569f1fd6f96a63b7151ca (patch)
tree5961ec3203188dbc3d0c07a751f0da1b7ca9e7a3 /src
parentca6f46aff1fc89c3d06ff9e85ab8c7871a695924 (diff)
downloadmusl-b5121e2ed88504c7186569f1fd6f96a63b7151ca.tar.gz
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.
Diffstat (limited to 'src')
-rw-r--r--src/locale/iconv.c2
1 files changed, 1 insertions, 1 deletions
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"