Remove Unicode characters from textfiles – sed , other Bash/shell methods

Clear all non-ASCII characters of file.txt:

$ iconv -c -f utf-8 -t ascii file.txt
$ strings file.txt

Leave a Comment