Check generated object strings have matching encoding.

PP is yet again return US-ASCII when it shouldn't. Fixes #324
Merge pull request #325 from rspec/fix_encoding_comparison_of_objects

Force generated object strings to have matching encoding.