this perl snippet: $line =~ tr/\040-\176/ /c;
On 30 May 2014 12:17, <moses-support-requ...@mit.edu> wrote: > Send Moses-support mailing list submissions to > moses-support@mit.edu > > To subscribe or unsubscribe via the World Wide Web, visit > http://mailman.mit.edu/mailman/listinfo/moses-support > or, via email, send a message with subject or body 'help' to > moses-support-requ...@mit.edu > > You can reach the person managing the list at > moses-support-ow...@mit.edu > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Moses-support digest..." > > > Today's Topics: > > 1. removing non-printing character (Hieu Hoang) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 30 May 2014 16:24:30 +0100 > From: Hieu Hoang <hieu.ho...@ed.ac.uk> > Subject: [Moses-support] removing non-printing character > To: moses-support <moses-support@mit.edu> > Message-ID: > <caekmkbj4tedzyvgeastmg51+w-5sye5ygrmibcypc2j8ybk...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > does anyone have a script/program that can remove all non-printing > characters? > > I don't care if it's fast or slow, as long as it's ABSOLUTELY removes all > non-printing chars > > -- > Hieu Hoang > Research Associate > University of Edinburgh > http://www.hoang.co.uk/hieu > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://mailman.mit.edu/mailman/private/moses-support/attachments/20140530/daee61ea/attachment-0001.htm > > ------------------------------ > > _______________________________________________ > Moses-support mailing list > Moses-support@mit.edu > http://mailman.mit.edu/mailman/listinfo/moses-support > > > End of Moses-support Digest, Vol 91, Issue 52 > ********************************************* -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. _______________________________________________ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support