summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2003-11-05 22:52:51 +0000
committerdavidxu <davidxu@FreeBSD.org>2003-11-05 22:52:51 +0000
commita6e1effefa802ad31038716500a89beb4a362186 (patch)
tree1411888c72024985a18eab202fc61b7bc0edf19f /usr.bin
parent13c2e3cf4f594cc57f94a1358e82743968558142 (diff)
downloadFreeBSD-src-a6e1effefa802ad31038716500a89beb4a362186.zip
FreeBSD-src-a6e1effefa802ad31038716500a89beb4a362186.tar.gz
Add gb2312 encoding.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mklocale/yacc.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/mklocale/yacc.y b/usr.bin/mklocale/yacc.y
index 8362517..92b4743 100644
--- a/usr.bin/mklocale/yacc.y
+++ b/usr.bin/mklocale/yacc.y
@@ -123,6 +123,7 @@ entry : ENCODING STRING
strcmp($2, "EUC") &&
strcmp($2, "GBK") &&
strcmp($2, "GB18030") &&
+ strcmp($2, "GB2312") &&
strcmp($2, "BIG5") &&
strcmp($2, "MSKanji"))
warnx("ENCODING %s is not supported by libc", $2);
OpenPOWER on IntegriCloud