[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how do i reset text coding?
From: |
Stefan Monnier |
Subject: |
Re: how do i reset text coding? |
Date: |
Thu, 16 Mar 2023 14:55:12 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> On your first screenshot, the mode line shows ‘=’ instead of a ‘U’.
> (info "(emacs) Mode Line") explains:
>
> ‘=’ means no conversion
> whatsoever, and is usually used for files containing non-textual data.
>
> so that’s your issue: somehow, for that buffer, encoding is not set
> correctly. (I don’t know why and where to look, so I will leave it to
> others to help you diagnose it.)
My guess is that there's a NUL byte in the file.
I use (setq inhibit-null-byte-detection t) in my ~/.emacs because I've
been bitten by those NUL bytes too many times.
Stefan