Remove non-ASCII characters in a file [duplicate]
If you want to use Perl, do it like this: perl -pi -e ‘s/[^[:ascii:]]//g’ filename Detailed Explanation The following explanation covers every part of the above command assuming the reader is unfamiliar with anything in the solution… perl run the perl interpreter. Perl is a programming language that is typically available on all unix like … Read more