Enforce utf-8 encoding on template