From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: how do i reset text coding? Date: Wed, 15 Mar 2023 18:51:54 +0200 Message-ID: <83r0tqq7o5.fsf@gnu.org> References: <20230315152149.51010319@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21815"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 15 17:52:36 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pcUMd-0005Wa-SN for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 15 Mar 2023 17:52:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pcUM5-0004Xo-2j; Wed, 15 Mar 2023 12:52:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pcUM3-0004XS-BC for help-gnu-emacs@gnu.org; Wed, 15 Mar 2023 12:51:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pcUM3-0000lv-3f for help-gnu-emacs@gnu.org; Wed, 15 Mar 2023 12:51:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=f5I3DrWnfs3mQp2oXSsSFFHf2XxyN2AMoYBncd+ZHuo=; b=NiIwXZ4gNhl3iEKPlT4g /qGpUz7qfjW8e2cGwxl7BZRU4dGSomUUyJWC6T+qHOjkY4oVcahA4wKDP5drTwemWkpoBM2MuMID2 Mx43aCMZogSWBnoNyvL5bURY+RA2mLlGJQPffy95/e8alExX94hp9qStNKl9UDNU8uwpxSWncYKa0 X/2fUcUrPzcpEKV28pnhskwlhZgexA/s/ZBTPGoewv20z9S198ZSelGQV6AHaMBhM3/+AEbOdpkwV 3aa8JQGd9s9Ce2eagiWjwVRp77rvn084Ht4OQC6jYKEyziHZS/RUxnJDQojjeYkIzcWaBee5mJyTN aljyBbm4BAe/fQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pcUM2-0001VW-Cp for help-gnu-emacs@gnu.org; Wed, 15 Mar 2023 12:51:58 -0400 In-Reply-To: (message from Yuri Khan on Wed, 15 Mar 2023 23:30:12 +0700) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143031 Archived-At: > From: Yuri Khan > 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 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.