Project

General

Profile

« Previous | Next » 

Revision a8f5a06a

Added by naruse (Yui NARUSE) over 14 years ago

  • 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