add charset into header in template