sed

Remove non-printable chars with

sed 's/[^[:print:]\r\t]/ /g' somefile.txt