mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
fe15b86b9d
commit
00a3c40c37
4 changed files with 18 additions and 13 deletions
|
@ -2,6 +2,12 @@ Tue Jan 29 12:53:39 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
|||
|
||||
* enc/gbk.c: add GBK, CP936 and CP949.
|
||||
|
||||
* 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.
|
||||
|
||||
Tue Jan 29 03:01:29 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* parse.y (reg_fragment_setenc_gen): US-ASCII script special code.
|
||||
|
|
12
enc/euc_cn.c
12
enc/euc_cn.c
|
@ -1,12 +0,0 @@
|
|||
#include <ruby/ruby.h>
|
||||
#include <ruby/encoding.h>
|
||||
#include "regenc.h"
|
||||
|
||||
void
|
||||
Init_euc_cn(void)
|
||||
{
|
||||
rb_enc_register("EUC-CN", rb_enc_find("EUC-KR"));
|
||||
}
|
||||
|
||||
ENC_ALIAS("eucCN", "EUC-CN");
|
||||
ENC_ALIAS("GB2312", "EUC-CN");
|
|
@ -190,4 +190,3 @@ OnigEncodingDefine(euc_kr, EUC_KR) = {
|
|||
euckr_is_allowed_reverse_match
|
||||
};
|
||||
ENC_ALIAS("eucKR", "EUC-KR");
|
||||
ENC_REPLICATE("CP949", "EUC-KR");
|
||||
|
|
12
enc/gb2312.c
Normal file
12
enc/gb2312.c
Normal file
|
@ -0,0 +1,12 @@
|
|||
#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");
|
Loading…
Reference in a new issue