From 5cd70fa5e9b12e50177829217753cf2d2712381a Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 8 Jan 2008 14:56:50 +0000 Subject: [PATCH] * encoding.c (rb_enc_init): UTF-{16,32}{BE,LE} are not builtin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ encoding.c | 8 -------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index a402f2e553..d1cd49098b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Jan 8 23:55:15 2008 NARUSE, Yui + + * encoding.c (rb_enc_init): UTF-{16,32}{BE,LE} are not builtin. + Tue Jan 8 22:33:03 2008 NARUSE, Yui * encoding.c, Makefile.in, include/ruby/oniguruma.h, diff --git a/encoding.c b/encoding.c index a46e133acf..fc7fa37e24 100644 --- a/encoding.c +++ b/encoding.c @@ -295,10 +295,6 @@ enum { ENCINDEX_EUC_JP, ENCINDEX_SJIS, ENCINDEX_UTF8, - ENCINDEX_UTF_16BE, - ENCINDEX_UTF_16LE, - ENCINDEX_UTF_32BE, - ENCINDEX_UTF_32LE, ENCINDEX_BUILTIN_MAX }; @@ -311,10 +307,6 @@ rb_enc_init(void) ENC_REGISTER(EUC_JP); ENC_REGISTER(SJIS); ENC_REGISTER(UTF8); - ENC_REGISTER(UTF_16BE); - ENC_REGISTER(UTF_16LE); - ENC_REGISTER(UTF_32BE); - ENC_REGISTER(UTF_32LE); #undef ENC_REGISTER enc_alias("ASCII", rb_enc_name(ONIG_ENCODING_ASCII)); enc_alias("BINARY", rb_enc_name(ONIG_ENCODING_ASCII));