Você pode usar o comando tr
da seguinte forma:
tr -cd '[:print:]\t\r\n'
Explicação:
'[:print:]'
Any character from the '[:space:]' class, and any character that is not in the '[:graph:]' class
\r -- return
\t -- horizontal tab
Exemplos based on Centos 7:
tr is GNU and UTF-8 encoding
$ echo "fiancÃÂÃÂÃÂÃÂÃÂ" | tr -cd '[:print:]\t\r\n'
fianc
$ echo "get ^▒▒^▒▒^▒▒^▒▒^▒▒^▒▒ " | tr -cd '[:print:]\t\r\n'
get ^^^^^^
echo " Caucasian male lives in Arizona w/ fianc▒^▒▒^▒▒^▒▒^▒▒^▒▒^▒^▒▒^▒▒^▒▒^▒▒^▒▒^▒" | tr -cd '[:print:]\t\r\n'
Caucasian male lives in Arizona w/ fianc^^^^^^^^^^^^