From a8f5a06a68f24ac48363083114c14e9c95ea61ff Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 15 Feb 2011 07:08:15 +0000 Subject: * 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 --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index aeb3348def..b550e8c8d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Tue Feb 15 15:43:29 2011 NARUSE, Yui + + * 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 * string.c (rb_enc_cr_str_buf_cat): remove special treatment of -- cgit v1.2.3