summaryrefslogtreecommitdiff
path: root/enc/gb18030.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-18 06:42:01 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-18 06:42:01 +0000
commit81e40399fb33bdb0b942893a7251dd12b9f46c28 (patch)
treeeb246935266b07e561bd4c7af37c9ddc204c4407 /enc/gb18030.c
parent799f4754c95f98c6423878d70badfb609f32f2bc (diff)
add references.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/gb18030.c')
-rw-r--r--enc/gb18030.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/enc/gb18030.c b/enc/gb18030.c
index 16c8c1c..f59d666 100644
--- a/enc/gb18030.c
+++ b/enc/gb18030.c
@@ -575,6 +575,11 @@ gb18030_is_allowed_reverse_match(const UChar* s, const UChar* end ARG_UNUSED, On
return GB18030_MAP[*s] == C1 ? TRUE : FALSE;
}
+/*
+ * Name: GB18030
+ * MIBenum: 114
+ * Link: http://www.iana.org/assignments/charset-reg/GB18030
+ */
OnigEncodingDefine(gb18030, GB18030) = {
gb18030_mbc_enc_len,
"GB18030", /* name */