add ascii and utf8 headers