summaryrefslogtreecommitdiff
path: root/encoding.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-23 08:40:37 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-23 08:40:37 +0000
commit090b9a4f7deaa0918cfe9b3e5e8dba71c9294a4c (patch)
tree60c4e703e1c9c07e99029a122d9d548f9c2a921d /encoding.c
parent4dd61ce6c7231bc7aa77b51b129f48dbf06862cc (diff)
* 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
Diffstat (limited to 'encoding.c')
-rw-r--r--encoding.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/encoding.c b/encoding.c
index 130b1612e1..985dd5bf24 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));
}