Ensure UTF-8 encoding.