diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-18 00:44:15 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-18 00:44:15 +0000 |
commit | 61fd7dbf6d0cf3641d41cda3a3c2f6f3e4532865 (patch) | |
tree | 2fe691215d0b413b33a7ab4199e80c31d24c063b | |
parent | 15baeee701da0560d968e5f2f76365c6eea0caf6 (diff) | |
download | ruby-61fd7dbf6d0cf3641d41cda3a3c2f6f3e4532865.tar.gz |
* re.c (rb_char_to_option_kcode): Regexp switch `s' should mean
Windows-31J, as wells as `-Ks'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | re.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Jan 18 09:43:02 2008 NAKAMURA Usaku <usa@ruby-lang.org> + + * 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@ruby-lang.org> * parse.y (parser_initialize): explicitly call rb_ascii8bit_encoding(). @@ -188,7 +188,7 @@ rb_char_to_option_kcode(int c, int *option, int *kcode) *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"); |