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 /ChangeLog | |
parent | 443b1517cfbee8cf3a0c44f040939edf4f94b9a0 (diff) |
* 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 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Tue Feb 15 15:43:29 2011 NARUSE, Yui <naruse@ruby-lang.org> + + * 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. + Tue Feb 15 15:39:37 2011 NARUSE, Yui <naruse@ruby-lang.org> * string.c (rb_enc_cr_str_buf_cat): remove special treatment of |