summaryrefslogtreecommitdiff
path: root/ext/Encode/Encode.pm
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Encode/Encode.pm')
-rw-r--r--ext/Encode/Encode.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/Encode/Encode.pm b/ext/Encode/Encode.pm
index 808ae406f1..d0bb788b06 100644
--- a/ext/Encode/Encode.pm
+++ b/ext/Encode/Encode.pm
@@ -167,10 +167,13 @@ define_alias( qr/^koi8u$/i => 'koi8-u' );
# Seen in some Linuxes.
define_alias( qr/^ujis$/i => 'euc-jp' );
+# CP936 doesn't have vendor-addon for GBK, so they're identical.
+define_alias( qr/^gbk$/i => '"cp936"');
+
# TODO: HP-UX '8' encodings arabic8 greek8 hebrew8 kana8 thai8 turkish8
# TODO: HP-UX '15' encodings japanese15 korean15 roi15
# TODO: Cyrillic encoding ISO-IR-111 (useful?)
-# TODO: Chinese encodings GB18030 EUC-TW HZ
+# TODO: Chinese encodings HZ
# TODO: Armenian encoding ARMSCII-8
# TODO: Hebrew encoding ISO-8859-8-1
# TODO: Thai encoding TCVN