GNU bug report logs - #58507
Emacs does not preserve the coding system

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Juhana Sadeharju <johanrainhill@HIDDEN>; Keywords: moreinfo; dated Fri, 14 Oct 2022 09:45:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 58507 <at> debbugs.gnu.org:


Received: (at 58507) by debbugs.gnu.org; 14 Oct 2022 10:42:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 14 06:42:41 2022
Received: from localhost ([127.0.0.1]:35861 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ojI9J-0004bx-8s
	for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 06:42:41 -0400
Received: from eggs.gnu.org ([209.51.188.92]:58604)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ojI9H-0004bi-3F
 for 58507 <at> debbugs.gnu.org; Fri, 14 Oct 2022 06:42:39 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:53320)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ojI9B-0001lf-Sx; Fri, 14 Oct 2022 06:42:33 -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=gIZU8Y6C6vc5AzMfAE7SDMgFkOdEZbE8yOgAfM+kAPk=; b=gfGUypG8Po/ec7dbKOsV
 +NOLjJkKPNlYuxI69Tu2e0s/wBy5OTAKaPItlMReV39dwP8QRtIyIF+tBMT2Y6x6d03L4Dnef7X79
 W1bSsxz0+N7fdM8NycAV2V8eNrby+vY0VyZzIkKrR/znHmfwqKHesxZD+nAm83Fprcdf5qGwywJZV
 xT5UZHwatVTXl08XWsid0XJl6LGN5tSveuv3nM/jb1aM6Seik1IUcCi67RN0frKwUvV3OlFhbKf6A
 1UM8cBUkj//y0o0ZQ2lKn4JKbBL5vuHF532t/2W0D8Cm1YlAsj4iQsA5BxRcTH7UQZQcYSam1VyMB
 l0GJU+UwMhf/FQ==;
Received: from [87.69.77.57] (port=4217 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ojI9B-0000gt-5e; Fri, 14 Oct 2022 06:42:33 -0400
Date: Fri, 14 Oct 2022 13:42:20 +0300
Message-Id: <83o7ue8z5f.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juhana Sadeharju <johanrainhill@HIDDEN>
In-Reply-To: <CAByt=PfYAviMRfVcpu7sCnZixXD9Mx1h+Tu_8kXZ5X1b0uMwTg@HIDDEN>
 (message from Juhana Sadeharju on Fri, 14 Oct 2022 09:02:25 +0300)
Subject: Re: bug#58507: Emacs does not preserve the coding system
References: <CAByt=PfYAviMRfVcpu7sCnZixXD9Mx1h+Tu_8kXZ5X1b0uMwTg@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 58507
Cc: 58507 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Juhana Sadeharju <johanrainhill@HIDDEN>
> Date: Fri, 14 Oct 2022 09:02:25 +0300
> 
> Hello. I did set the coding system to utf-8 but at quit/restart the file goes to iso-latin-dos and chars such as ä
> and ö becomes unreadable. Windows 11. Both the latest Emacs and older version 25.3 has this same
> problem.

Please tell the details: how did you set coding system to utf-8, and
how did you see that the file goes to iso-latin-dos.  We need these
details to investigate the problem.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#58507; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 Oct 2022 09:44:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 14 05:44:54 2022
Received: from localhost ([127.0.0.1]:35790 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ojHFN-0002mX-EE
	for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 05:44:54 -0400
Received: from lists.gnu.org ([209.51.188.17]:43526)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <johanrainhill@HIDDEN>) id 1ojDmL-0004hR-6e
 for submit <at> debbugs.gnu.org; Fri, 14 Oct 2022 02:02:41 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50962)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <johanrainhill@HIDDEN>)
 id 1ojDmL-00045n-08
 for bug-gnu-emacs@HIDDEN; Fri, 14 Oct 2022 02:02:41 -0400
Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]:35802)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <johanrainhill@HIDDEN>)
 id 1ojDmJ-0001SB-Bg
 for bug-gnu-emacs@HIDDEN; Fri, 14 Oct 2022 02:02:40 -0400
Received: by mail-pg1-x531.google.com with SMTP id u71so3488149pgd.2
 for <bug-gnu-emacs@HIDDEN>; Thu, 13 Oct 2022 23:02:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=fNC1xEEcifaThiKLuOB857oR4c0L2xOZR03HiKZwKqM=;
 b=o3ORBOqNaZHMxkmppGoEDLVkRK9pjQbxl3nZO9ke3PJrOMt0eRUfR8konu0cIH5vPL
 gNyE9eW/6ZPoNbJOkPUv0u9XGecpVZzczkOPnc4vLKsmBgy/mDPeqPcoVgKSpoTuJrJF
 gatUjuXhaPpessi5kQIDX0JTmey2WmF30nD317eLtVYI3S2ZFyW2mDYENle4MHUOhhMs
 axx0O6J+aoxWFNx/0bZ63UetuFL6j+3pFN+HvM/z4q+BX3rvvwjfBloMu/5ruDZwsNFM
 wtlrnotiNhbuHh/Yq8XAqp5OgluNXCfCTH3ha+utoruZ9yGjd2bUdqV7F+zuqQIjIDZk
 34CQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=fNC1xEEcifaThiKLuOB857oR4c0L2xOZR03HiKZwKqM=;
 b=JiJ7hcB9vKhpPXzJyWaVfbNxXAdhkvx24pZRSSys5mtUBTS7TrxhQJ64TGffIb5+W9
 xRkYWYuh2tinq5LIVB7hK7PEU5tcJ2moKiKdm6UVngZOZvWOiAPOzmhz69tN2iwy3I9h
 2lkce4CrQkcQFljwXMpDTaCoJ3T0n6TGb379rOVvSxyZWFu84pOXyWYHnB2bfu+/VvU3
 k60nmumidKn0Sv7nS7jngAD+DcuwAmzjnjvytSMNVkIyTAeTAuGCveHViQ8zHYo6MGMn
 oQcLOgog/iYzpBsIBc7JBnxcKU6IweMG12NMP5bOKuvczwyBEofAcwb2h8mqcHiOhCPn
 qBcQ==
X-Gm-Message-State: ACrzQf3lcd+ZDzWrkaC3kAuV9yjbaz5mbaYZqilRtcDHANv1v+xn+RQU
 /39Kka2mLTbn5BJxburCWf5TAZA/dIW5YSUE8Yo170W/
X-Google-Smtp-Source: AMsMyM4SfZeHqp3PwW9sBoe3Otmyd/AsXraHDzqGwBdB9u4aa0hy3toOZQPvdncmevnBKtfGS7u3ci70cqsr5pRjzXM=
X-Received: by 2002:a05:6a00:4093:b0:563:2d96:8f44 with SMTP id
 bw19-20020a056a00409300b005632d968f44mr3768983pfb.4.1665727357284; Thu, 13
 Oct 2022 23:02:37 -0700 (PDT)
MIME-Version: 1.0
From: Juhana Sadeharju <johanrainhill@HIDDEN>
Date: Fri, 14 Oct 2022 09:02:25 +0300
Message-ID: <CAByt=PfYAviMRfVcpu7sCnZixXD9Mx1h+Tu_8kXZ5X1b0uMwTg@HIDDEN>
Subject: Emacs does not preserve the coding system
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="0000000000006c75e605eaf85f80"
Received-SPF: pass client-ip=2607:f8b0:4864:20::531;
 envelope-from=johanrainhill@HIDDEN; helo=mail-pg1-x531.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 14 Oct 2022 05:44:52 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--0000000000006c75e605eaf85f80
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello. I did set the coding system to utf-8 but at quit/restart the file
goes to iso-latin-dos and chars such as =C3=A4 and =C3=B6 becomes unreadabl=
e. Windows
11. Both the latest Emacs and older version 25.3 has this same problem.

(Windows' Note works ok and it has utf-8 set as default, unlike Emacs)

--0000000000006c75e605eaf85f80
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Hello. I did set the coding system to utf-8 but at quit/r=
estart the file goes to iso-latin-dos and chars such as =C3=A4 and =C3=B6 b=
ecomes unreadable. Windows 11. Both the latest Emacs and older version 25.3=
 has this same problem.<div dir=3D"auto"><br></div><div dir=3D"auto">(Windo=
ws&#39; Note works ok and it has utf-8 set as default, unlike Emacs)</div><=
div dir=3D"auto"><br></div></div>

--0000000000006c75e605eaf85f80--




Acknowledgement sent to Juhana Sadeharju <johanrainhill@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#58507; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 14 Oct 2022 11:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.