Force UTF-8 encoding for host_type