I had a file that I wanted to remove non-ascii characters from. I did some searching, got some hints, and came up with this:

cat filename.txt | sed -r "s/[^\x20-\x7E|\n|\ |\t]//g" > newfilename.txt

Worked for me on version Squeeze of Debian GNU/Linux.