string.c (rb_enc_cr_str_buf_cat): remove special treatment of ASCII-8BIT receivers.
string.c (str_gsub): set initial encoding of the buffer as the same of the receiver. [ruby-core:35141]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
string.c (rb_enc_cr_str_buf_cat): remove special treatment of
ASCII-8BIT receivers.
string.c (str_gsub): set initial encoding of the buffer as the
same of the receiver. [ruby-core:35141]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e