all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "roodwriter@core.com" <roodwriter@core.com>
Subject: Re: Way to screen out non-ASCII characters?
Date: Thu, 14 Aug 2003 12:14:49 -0400	[thread overview]
Message-ID: <vjnd9s9pop0m6a@corp.supernews.com> (raw)
In-Reply-To: m14r0lccyp.fsf@g3.com

Edward Dodge wrote:

> 
> Does anyone know if there is a mode or something that you can use in
> EMACS to screen out everything that *isn't* ASCII text?  I am
> currently trying to get some old documents converted to a plain-old
> ASCII text file,  and I don't have access to the original program to
> "save as text,"  nor do I want to write a script for this.
> 
> I would assume that because EMACS can distinguish between different
> character-sets, maybe there is a way for EMACS to strain out the
> other garbage for me.
> 

It's not Emacs, but if you're using Linux, you can use the strings command. 
You can launch it from the Emacs shell if you prefer. Read man strings.

If those are old Word files, there's antiword and a few others that will 
take out the text.

--Rod

-- 
Author of "Linux for Non-Geeks--Clear-eyed Answered for Practical Consumers" 
and "Boring Stories from Uncle Rod." Both are available at 
http://www.rodwriterpublishing.com/index.html

To reply by e-mail, take the extra "o" out of the name.

  reply	other threads:[~2003-08-14 16:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-14  0:14 Way to screen out non-ASCII characters? Edward Dodge
2003-08-14 16:14 ` roodwriter [this message]
2003-08-14 23:32 ` Joshua D. Guttman
2003-08-17 17:00 ` Kai Großjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vjnd9s9pop0m6a@corp.supernews.com \
    --to=roodwriter@core.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.