From owner-freebsd-questions Mon Feb 15 01:11:21 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA03466 for freebsd-questions-outgoing; Mon, 15 Feb 1999 01:11:21 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from phoenix.welearn.com.au (phoenix.welearn.com.au [139.130.44.81] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA03458 for ; Mon, 15 Feb 1999 01:11:16 -0800 (PST) (envelope-from sue@phoenix.welearn.com.au) Received: (from sue@localhost) by phoenix.welearn.com.au (8.9.1/8.9.0) id UAA17197; Mon, 15 Feb 1999 20:11:04 +1100 (EST) Message-ID: <19990215201056.19929@welearn.com.au> Date: Mon, 15 Feb 1999 20:10:57 +1100 From: Sue Blake To: rick hamell Cc: freebsd-questions@FreeBSD.ORG Subject: Re: cleaning a text file References: <19990215195935.12817@welearn.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e In-Reply-To: ; from rick hamell on Mon, Feb 15, 1999 at 01:01:12AM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Feb 15, 1999 at 01:01:12AM -0800, rick hamell wrote: > > > Is there some simple unix way to either > > check that all funny characters have been removed, > > or better, > > to get a list of the characters that might still need replacing? > > Sue, a quick a dirty way I've been using is to email it as a text > message back to myself using pine. Save and edit off the headers and > it'll be about 99% complete. Usually you see those funky characters > because they cut and paste from Word for Windows into their E-mail program. Thanks Rick, that's a great idea and I have some uses for it! Unfortunately in this case 99% is nowhere near good enough. It has to go through screen readers and speech synthesisers, Mac, OS/2, and whatever hairbrained system someone might try it on, and be perfect. Also, this file has some very long lines which would get truncated or unexpectedly wrapped when sent as email. And if there is something strange, I have to read it and guess what it should have been. Maybe someone will come up with something for this particular case. I can't believe there's not some little untility for this that's been hanging around unloved for years. -- Regards, -*Sue*- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message