ruby-changes:3612
From: ko1@a...
Date: Fri, 18 Jan 2008 09:44:41 +0900 (JST)
Subject: [ruby-changes:3612] usa - Ruby:r15101 (trunk): * re.c (rb_char_to_option_kcode): Regexp switch `s' should mean
usa 2008-01-18 09:44:15 +0900 (Fri, 18 Jan 2008) New Revision: 15101 Modified files: trunk/ChangeLog trunk/re.c Log: * re.c (rb_char_to_option_kcode): Regexp switch `s' should mean Windows-31J, as wells as `-Ks'. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15101&r2=15100&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/re.c?r1=15101&r2=15100&diff_format=u Index: re.c =================================================================== --- re.c (revision 15100) +++ re.c (revision 15101) @@ -188,7 +188,7 @@ *kcode = rb_enc_find_index("EUC-JP"); break; case 's': - *kcode = rb_enc_find_index("Shift_JIS"); + *kcode = rb_enc_find_index("Windows-31J"); break; case 'u': *kcode = rb_enc_find_index("UTF-8"); Index: ChangeLog =================================================================== --- ChangeLog (revision 15100) +++ ChangeLog (revision 15101) @@ -1,3 +1,8 @@ +Fri Jan 18 09:43:02 2008 NAKAMURA Usaku <usa@r...> + + * re.c (rb_char_to_option_kcode): Regexp switch `s' should mean + Windows-31J, as wells as `-Ks'. + Fri Jan 18 09:22:07 2008 Yukihiro Matsumoto <matz@r...> * parse.y (parser_initialize): explicitly call rb_ascii8bit_encoding(). -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/