script to replace/remove non-ascii characters