rescue Encoding::UndefinedConversionError

matching_encoding method raises Encoding::UndefinedConversionError on my failing spec.
it should not try to encode with source.encoding

````ruby
  it 'Encoding::UndefinedConversionError' do
    {a: "한글"}.should == {a: "한글2"}
  end
````