unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Replacing \227 and other codes
@ 2002-10-21 17:04 Chris L
  2002-10-21 17:52 ` ken
  0 siblings, 1 reply; 2+ messages in thread
From: Chris L @ 2002-10-21 17:04 UTC (permalink / raw)


I have an imported HTML document that has some strange codes for em
dashes and the like. The em dash, for example, displays as a \227 --
how can I search and replace these codes?

I tried to copy the code and then do C-s C-y to paste it, but it
doesn't seem to work. Is there a way to do isearch-forward-selection
or similar?

-- 
Chris
chrisl_ak@hotmail.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Replacing \227 and other codes
  2002-10-21 17:04 Replacing \227 and other codes Chris L
@ 2002-10-21 17:52 ` ken
  0 siblings, 0 replies; 2+ messages in thread
From: ken @ 2002-10-21 17:52 UTC (permalink / raw)



There ought to be a shell script to do all of this, but until there is, 
here's what I do in emacs:

M-x replace-string C-q 227 RETURN - RETURN

This should qualify as a FAQ... or?

hth,
ken

-- 
AMD crashes?  See http://cleveland.lug.net/~ken/amd-problem/.

Spake Chris L at 09:04 (UTC-0800) on Mon, 21 Oct 2002:

= I have an imported HTML document that has some strange codes for em
= dashes and the like. The em dash, for example, displays as a \227 --
= how can I search and replace these codes?
= 
= I tried to copy the code and then do C-s C-y to paste it, but it
= doesn't seem to work. Is there a way to do isearch-forward-selection
= or similar?
= 
= 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-21 17:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-21 17:04 Replacing \227 and other codes Chris L
2002-10-21 17:52 ` ken

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).