unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to get rid of Microsoft dumb quotes, e.g. \222 for apostrophe?
@ 2007-02-16 12:19 Endless Story
  2007-02-16 12:44 ` Brendan Halpin
  2007-02-16 16:22 ` Stefan Monnier
  0 siblings, 2 replies; 22+ messages in thread
From: Endless Story @ 2007-02-16 12:19 UTC (permalink / raw)
  To: help-gnu-emacs

My apologies as I know this topic has been covered before, but despite
much Googling I haven't found a simple, direct solution to the
problem.

I have just started seeing lots of nasty stuff like \222 instead of
apostrophes in working on text files in Emacs on XP, then trying to
reformat these files for LaTeX. My guess is I picked this garbage up
when I copy-and-pasted some material out of Word, though I'm not
certain. Emacs on XP displays these characters fine when I am just
working with a .txt or .org file - which is why I didn't pick up on
the problem earlier.

I am looking for a simple function or .el package that will remove the
garbage and replace it with latin1 encoding or whatever is acceptable
to LaTeX. I have done lots of Googling but haven't come up with
anything that doesn't refer to gnus (which I don't use) or which
doesn't get me lost in talk of this encoding system or that. A search-
and-replace function will do fine - and I will even write it myself if
someone gives me a tip on how to get started (again, I'm not a lisp
expert).

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

end of thread, other threads:[~2007-02-21  9:29 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-16 12:19 How to get rid of Microsoft dumb quotes, e.g. \222 for apostrophe? Endless Story
2007-02-16 12:44 ` Brendan Halpin
2007-02-16 16:02   ` ken
2007-02-16 16:14     ` Sebastian P. Luque
2007-02-17 11:04       ` ken
     [not found]   ` <mailman.4605.1171641752.2155.help-gnu-emacs@gnu.org>
2007-02-16 16:59     ` Brendan Halpin
2007-02-16 22:22       ` ken
2007-02-17  1:47   ` Stefan Monnier
2007-02-17 12:06     ` ken
     [not found]     ` <mailman.4653.1171713988.2155.help-gnu-emacs@gnu.org>
2007-02-17 17:29       ` Stefan Monnier
2007-02-19 14:17   ` ken
2007-02-19 16:28     ` Shanks N
2007-02-19 18:48       ` ken
     [not found]   ` <mailman.4721.1171894691.2155.help-gnu-emacs@gnu.org>
2007-02-20  2:00     ` Stefan Monnier
2007-02-20 10:45       ` ken
2007-02-20 10:56         ` Juanma Barranquero
2007-02-20 12:46           ` ken
2007-02-20 13:07             ` Juanma Barranquero
2007-02-21  9:29     ` Endless Story
2007-02-16 16:22 ` Stefan Monnier
2007-02-16 17:00   ` Endless Story
2007-02-16 22:00     ` Radamanthe

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).