ruby-changes:3301
From: ko1@a...
Date: 30 Dec 2007 17:44:11 +0900
Subject: [ruby-changes:3301] nobu - Ruby:r14794 (trunk): * encoding.c (Init_Encoding): registered rb_encoding differs from
nobu 2007-12-30 17:43:56 +0900 (Sun, 30 Dec 2007) New Revision: 14794 Modified files: trunk/ChangeLog trunk/encoding.c Log: * encoding.c (Init_Encoding): registered rb_encoding differs from ONIG_ENCODINGs. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14794&r2=14793 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/encoding.c?r1=14794&r2=14793 Index: encoding.c =================================================================== --- encoding.c (revision 14793) +++ encoding.c (revision 14794) @@ -1011,7 +1011,7 @@ /* 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) { Index: ChangeLog =================================================================== --- ChangeLog (revision 14793) +++ ChangeLog (revision 14794) @@ -1,3 +1,8 @@ +Sun Dec 30 17:43:54 2007 Nobuyoshi Nakada <nobu@r...> + + * encoding.c (Init_Encoding): registered rb_encoding differs from + ONIG_ENCODINGs. + Sun Dec 30 13:56:15 2007 Nobuyoshi Nakada <nobu@r...> * parse.y (program): clear input strings after all process. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml