[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how do i reset text coding?
From: |
Eli Zaretskii |
Subject: |
Re: how do i reset text coding? |
Date: |
Wed, 15 Mar 2023 18:51:54 +0200 |
> From: Yuri Khan <yuri.v.khan@gmail.com>
> Date: Wed, 15 Mar 2023 23:30:12 +0700
> Cc: help-gnu-emacs@gnu.org
>
> On Wed, 15 Mar 2023 at 22:22, jimdam, vani <jindam.vani@disroot.org> wrote:
> > . what kind of "numbers" do you see? please show examples
> > file1 screen shot https://ibb.co/kBnGx7P
> > file2 screen shot https://ibb.co/HPxPrZH
>
> 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.
Yes, exactly.
> (I don’t know why and where to look, so I will leave it to others to
> help you diagnose it.)
The screenshots don't show the entire text, and the text itself wasn't
posted here _as_text_, so it's hard to say. But in any case, you can
do
C-x RET r utf-8 RET
and Emacs will revisit the file with UTF-8 encoding.