all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to scan file for non-ascii chars (eg cut-n-paste from ms-word)
@ 2011-01-09  0:53 David Combs
  2011-01-09 14:23 ` Eli Zaretskii
       [not found] ` <mailman.11.1294583034.18702.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 12+ messages in thread
From: David Combs @ 2011-01-09  0:53 UTC (permalink / raw)
  To: help-gnu-emacs

When I 'cut-n-paste' from eg ms-word-produced document, into an
emacs buffer (ie ascii), you get all kinds of "non-ascii" chars,
eg left and right double-quotes, like these:


Char: . (8221, #o20035, #x201d) point=250 of 4096 (6%) column=7
Char: . (8220, #o20034, #x201c) point=218 of 4096 (5%) column=42


accents, and so on.

When I go to save the buffer, emacs will ask if I want to
save it in eg japanese format.  Not exactly what I want.

What I'd like to do is change those "strange" characters
to their plain-ascii "equivalent", so to speak.  Like
'"' for double quote (left OR right), etc.

Surely I'm not the only one to experience this difficulty:
what work-arounds have YOU found?

Thanks!

David



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

end of thread, other threads:[~2011-01-20  6:57 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-09  0:53 how to scan file for non-ascii chars (eg cut-n-paste from ms-word) David Combs
2011-01-09 14:23 ` Eli Zaretskii
2011-01-09 16:24   ` Kenneth Goldman
2011-01-09 17:30     ` Eli Zaretskii
2011-01-09 17:53       ` how to scan file for non-ascii chars (egcut-n-paste " Drew Adams
     [not found]       ` <mailman.8.1294595713.11727.help-gnu-emacs@gnu.org>
2011-01-18 20:19         ` David Combs
2011-01-19  2:02           ` how to scan file for non-ascii chars(egcut-n-paste " Drew Adams
     [not found]     ` <mailman.5.1294594249.11727.help-gnu-emacs@gnu.org>
2011-01-18 20:06       ` how to scan file for non-ascii chars (eg cut-n-paste " David Combs
     [not found] ` <mailman.11.1294583034.18702.help-gnu-emacs@gnu.org>
2011-01-18 19:54   ` David Combs
2011-01-18 21:32     ` harven
2011-01-19  4:38     ` Teemu Likonen
2011-01-20  6:57       ` Kevin Rodgers

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.