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 | 28405f4321d8813940a66693647a6019057a2298 (patch) | |
| tree | 458f83088795eed34b50efd975a4253dbc9d7953 /include/ruby/ruby.h | |
| parent | f6288dbaa497c855e86b7c4dec7ee25e532db6c3 (diff) | |
| download | ruby-28405f4321d8813940a66693647a6019057a2298.tar.gz ruby-28405f4321d8813940a66693647a6019057a2298.tar.xz ruby-28405f4321d8813940a66693647a6019057a2298.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@15217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/ruby.h')
0 files changed, 0 insertions, 0 deletions
