1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* encoding.c (rb_enc_init): add eucJP as an alias of EUC-JP.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-12-23 08:40:37 +00:00
parent 4dd61ce6c7
commit 090b9a4f7d
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Sun Dec 23 17:24:48 2007 Tanaka Akira <akr@fsij.org>
* encoding.c (rb_enc_init): add eucJP as an alias of EUC-JP.
Sun Dec 23 17:00:23 2007 Tanaka Akira <akr@fsij.org>
* lib/time.rb (Time.httpdate): use Time.utc for

View file

@ -314,6 +314,7 @@ rb_enc_init(void)
#undef ENC_REGISTER
enc_alias("ASCII", rb_enc_name(ONIG_ENCODING_ASCII));
enc_alias("BINARY", rb_enc_name(ONIG_ENCODING_ASCII));
enc_alias("eucJP", rb_enc_name(ONIG_ENCODING_EUC_JP));
enc_alias("SJIS", rb_enc_name(ONIG_ENCODING_SJIS));
}