1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/enc/gb2312.c
naruse 00a3c40c37 * enc/euc_kr.c: remove CP949.
* enc/euc_cn.c: remove CP936 and rename to gb2312.c

* enc/gb2312.c: GB2312 is preferred MIME name.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-29 04:41:41 +00:00

12 lines
214 B
C

#include <ruby/ruby.h>
#include <ruby/encoding.h>
#include "regenc.h"
void
Init_gb2312(void)
{
rb_enc_register("GB2312", rb_enc_find("EUC-KR"));
}
ENC_ALIAS("EUC-CN", "GB2312");
ENC_ALIAS("eucCN", "GB2312");