diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-02-15 07:08:15 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-02-15 07:08:15 +0000 |
commit | a8f5a06a68f24ac48363083114c14e9c95ea61ff (patch) | |
tree | 0b7844f6215c52d43b361616b47026c2c731ccd9 /test/ruby/test_string.rb | |
parent | 443b1517cfbee8cf3a0c44f040939edf4f94b9a0 (diff) | |
download | ruby-a8f5a06a68f24ac48363083114c14e9c95ea61ff.tar.gz |
* encoding.c (rb_enc_compatible): change the rule for empty strings:
remove the special treatment of the US-ASCII encoded empty string.
Now Encoding.compatible? usually respect the encoding of the
receiver.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_string.rb')
0 files changed, 0 insertions, 0 deletions