Remove non-utf8 char from doc.