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));