make sure encoding tag is rendered