(almost) Correctly converting to UTF-8