[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to find encoding violations in Emacs buffer?

From: Riccardo Murri
Subject: Re: how to find encoding violations in Emacs buffer?
Date: Tue, 12 Dec 2006 21:56:32 +0100

On 12/12/06, Lennart Borgman <address@hidden> wrote:
address@hidden wrote:
> 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?

I think someone said there was, but I have never seen it though I have
had these problem quite often. Can't remember the details now.

Which platform are you on? I am using MS Windows (2000 or XP).

Debian (etch) GNU/Linux, running emacs-snapshot-gtk, 22.0.90

Does the platform matter in this case?  I would have thought the elisp
hides those details...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]