Assuming you're working from the command line:
perl -015 -pi.bak -e "chomp" filename [download]
In reply to Re: Removing Control Characters by converter in thread Removing Control Characters by raj8