[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: Lennart Borgman
Subject: Re: how to find encoding violations in Emacs buffer?
Date: Tue, 12 Dec 2006 21:39:53 +0100
User-agent: Thunderbird (Windows/20061025)

address@hidden wrote:

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!


P.S. Currently running 22.0.90

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

reply via email to

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