Don't modify EncodedString::REPLACE in place.
Don't modify EncodedString::REPLACE in place.

String#force_encoding modifies a String in place, it does _not_ merely return a
new String with said encoding. Example:

    a = 'foo'

    a.force_encoding('UTF-16')

    a.encoding => #<Encoding:UTF-16 (dummy)>

hackling/rspec-support,AEgan/rspec-support,rspec/rspec-support,AEgan/rspec-support,rspec/rspec-support,hackling/rspec-support