clean up reassignments of Encoding.default_internal to ensure it's set back to it's original value