Convert template config to UTF-8