зеркало из https://github.com/github/ruby.git
* encoding.c (Init_Encoding): registered rb_encoding differs from
ONIG_ENCODINGs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
7494e2ef32
Коммит
1ed2aad958
|
@ -1,3 +1,8 @@
|
|||
Sun Dec 30 17:43:54 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* encoding.c (Init_Encoding): registered rb_encoding differs from
|
||||
ONIG_ENCODINGs.
|
||||
|
||||
Sun Dec 30 13:56:15 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (program): clear input strings after all process.
|
||||
|
|
|
@ -1011,7 +1011,7 @@ Init_Encoding(void)
|
|||
/* dummy for unsupported, statefull encoding */
|
||||
rb_define_dummy_encoding("ISO-2022-JP");
|
||||
|
||||
rb_enc_replicate("Windows-31J", ONIG_ENCODING_SJIS);
|
||||
rb_enc_replicate("Windows-31J", rb_enc_from_index(ENCINDEX_SJIS));
|
||||
rb_enc_alias("CP932", "Windows-31J");
|
||||
|
||||
for (i = 0; i < enc_table_size; ++i) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче