You can do the job with a perl one-liner:
perl -i.bk -pe 's/[^[:ascii:]]//g;' file
This will remove all non ascii character from your file copying the original content in file.bk
citromatik
In reply to Re: Removing Non-Ascii chars from text file
by citromatik
in thread Removing Non-Ascii chars from text file
by MonkPaul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |