remove a non-valid UTF-8 charcter