diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-24 11:43:40 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-24 11:43:40 +0000 |
commit | 439fab84598b2be5ad7f75016d08687429c664a9 (patch) | |
tree | 458f83088795eed34b50efd975a4253dbc9d7953 /ChangeLog | |
parent | 8e7dd55a6e907c2232a66f2d48261cfde42b03dd (diff) | |
download | ruby-439fab84598b2be5ad7f75016d08687429c664a9.tar.gz |
* parser.y (parser_str_new): automatically update string literal's
encoding from US-ASCII to ASCII-8BIT when script encoding is US-ASCII
and the string includes non-ascii bytes. [ruby-dev:33348]
* parser.y (reg_fragment_check_gen, reg_compile_gen): automatically
update regexp literal's encoding from US-ASCII to ASCII-8BIT when
script encoding is US-ASCII, the regexp has no kcode option and the
regexp includes non-ascii bytes. [ruby-dev:33353]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +Thu Jan 24 20:21:07 2008 NAKAMURA Usaku <usa@ruby-lang.org> + + * parser.y (parser_str_new): automatically update string literal's + encoding from US-ASCII to ASCII-8BIT when script encoding is US-ASCII + and the string includes non-ascii bytes. [ruby-dev:33348] + + * parser.y (reg_fragment_check_gen, reg_compile_gen): automatically + update regexp literal's encoding from US-ASCII to ASCII-8BIT when + script encoding is US-ASCII, the regexp has no kcode option and the + regexp includes non-ascii bytes. [ruby-dev:33353] + Thu Jan 24 19:36:22 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/uri/generic.rb (URI::Generic::inspect): use Kernel#to_s instead |