Date: Wed, 21 Jul 2010 17:34:45 -0500 From: David Kelly <dkelly@hiwaay.net> To: FreeBSD-Questions@FreeBSD.org Subject: Strip high bit from text? Message-ID: <20100721223445.GA44260@Grumpy.DynDNS.org>
next in thread | raw e-mail | index | archive | help
I regularly get email from a Blackberry user which my ISP then adds this header, "X-MIME-Autoconverted: from quoted-printable to 8bit". So far so good but the result always contains a number of 0xa0's in places a plain old space belongs. Mutt/vim renders these as "?" making a complete mess of things. Already use procmail so adding an automatic filter should not be difficult if only I can come up with on. Tried "tr \240 ' ' < testfile | hd" and was not able to change the 0xa0 into anything. Have already spent much more time trying to make tr or sed do the job than it would have taken to knock something out in C, but I think there should be something laying around already in the base system to perform this task. Suggestions? Repair the email while procmail has it? Reconfigure mutt and/or vim? -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100721223445.GA44260>