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 /enc/iso_8859_4.c | |
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 'enc/iso_8859_4.c')
0 files changed, 0 insertions, 0 deletions