force template/documents to be utf-8