unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how to find encoding violations in Emacs buffer?
@ 2006-12-12 18:18 riccardo.murri
  2006-12-12 20:39 ` Lennart Borgman
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: riccardo.murri @ 2006-12-12 18:18 UTC (permalink / raw)


Hello,

from time to time, a buffer gets some spurious character in and Emacs
refuses to save it in the correct encoding. So I am presented with the
choice of other different encodings.

However, in most of the cases, I know that the file *should* be UTF-8
encoded.  So I would rather like to find out where the offending
character is and correct it, instead of choosing a different encoding.

Is there any function/package/elisp hack to find/highlight characters
in a buffer that Emacs could not encode as UTF-8?

Thank you for any hint!

Riccardo

P.S. Currently running 22.0.90

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

end of thread, other threads:[~2006-12-13 12:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-12 18:18 how to find encoding violations in Emacs buffer? riccardo.murri
2006-12-12 20:39 ` Lennart Borgman
2006-12-12 20:56   ` Riccardo Murri
     [not found] ` <mailman.1801.1165956001.2155.help-gnu-emacs@gnu.org>
2006-12-12 23:45   ` B. T. Raven
2006-12-13  4:26 ` Eli Zaretskii
     [not found] ` <mailman.1814.1165984004.2155.help-gnu-emacs@gnu.org>
2006-12-13  8:39   ` riccardo.murri
2006-12-13 10:45     ` Peter Dyballa
     [not found]     ` <mailman.1823.1166006732.2155.help-gnu-emacs@gnu.org>
2006-12-13 12:34       ` riccardo.murri
2006-12-13 12:55         ` Peter Dyballa

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