Small improvement: Only convert encoding when != internal encoding