Ver Fonte

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.
Rich Felker há 1 ano atrás
pai
commit
b5121e2ed8
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/locale/iconv.c

+ 1 - 1
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"