Set explicit utf8 encoding for Template