зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
ed540e8bdf
Коммит
5cd70fa5e9
|
@ -1,3 +1,7 @@
|
|||
Tue Jan 8 23:55:15 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* encoding.c (rb_enc_init): UTF-{16,32}{BE,LE} are not builtin.
|
||||
|
||||
Tue Jan 8 22:33:03 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* encoding.c, Makefile.in, include/ruby/oniguruma.h,
|
||||
|
|
|
@ -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));
|
||||
|
|
Загрузка…
Ссылка в новой задаче