diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-23 08:40:37 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-23 08:40:37 +0000 |
commit | 0dfb3e9a37bdeac93f296301fd11f122ecbca877 (patch) | |
tree | 60c4e703e1c9c07e99029a122d9d548f9c2a921d /encoding.c | |
parent | 3c619fb33ddf4efb147f77b3be34eee17f323873 (diff) | |
download | ruby-0dfb3e9a37bdeac93f296301fd11f122ecbca877.tar.gz ruby-0dfb3e9a37bdeac93f296301fd11f122ecbca877.tar.xz ruby-0dfb3e9a37bdeac93f296301fd11f122ecbca877.zip |
* encoding.c (rb_enc_init): add eucJP as an alias of EUC-JP.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'encoding.c')
-rw-r--r-- | encoding.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/encoding.c b/encoding.c index 130b1612e..985dd5bf2 100644 --- a/encoding.c +++ b/encoding.c @@ -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)); } |