Fix UTF-8 encoding error in template