Ensure entities are encoded. Add charset.