replace charset with http-equiv meta tag