If you found spaces and non-ASCII characters with in files, remove all  from a file in place. 
Solution is:
perl -i.bak -pe 's/[^[:ascii:]]//g' filename
Thanks-
Solution is:
perl -i.bak -pe 's/[^[:ascii:]]//g' filename
Thanks-
Linux Shell Scripting, Automation, Easy Application Deployment, Linux Blogging, Linux Server Security, Cloud Computing, DevOps Solutions!
