clean up invalid utf8 characters found in the html