Fix an encoding issue on 1.9.3 when diffing hashes

PrettyPrint was loosing the encoding of US-ASCII compatible hashes, this restores
the encoding by restoring the original encoding of the string.