From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20623: XML and HTML files with encoding/charset="utf-8" declaration loose BOM; Coding system is reset from utf-8-with-signature to utf-8 on save Date: Sat, 11 Aug 2018 16:54:04 +0300 Message-ID: <83va8hko03.fsf@gnu.org> References: <555E2912.7060509@gmx.net> <83iobl67ao.fsf@gnu.org> <555E44EB.6070604@gmx.net> <83egm95boc.fsf@gnu.org> <555F2D3C.6090608@gmx.net> <8660oxdyxy.fsf@realize.ch> <457eu2h1sk.fsf@fencepost.gnu.org> <837eu2xmor.fsf@gnu.org> <838teatmtv.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1533995592 13306 195.159.176.226 (11 Aug 2018 13:53:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 11 Aug 2018 13:53:12 +0000 (UTC) Cc: a.s@realize.ch, 20623@debbugs.gnu.org, sledergerber@gmx.net To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 11 15:53:08 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1foUKJ-0003Lz-Pt for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Aug 2018 15:53:07 +0200 Original-Received: from localhost ([::1]:60294 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1foUMQ-0006lB-5H for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Aug 2018 09:55:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1foUMD-0006kt-Vf for bug-gnu-emacs@gnu.org; Sat, 11 Aug 2018 09:55:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1foUMA-0004Qp-TQ for bug-gnu-emacs@gnu.org; Sat, 11 Aug 2018 09:55:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42866) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1foUMA-0004Qe-Om for bug-gnu-emacs@gnu.org; Sat, 11 Aug 2018 09:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1foUMA-0008Cx-D8 for bug-gnu-emacs@gnu.org; Sat, 11 Aug 2018 09:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Aug 2018 13:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20623 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20623-submit@debbugs.gnu.org id=B20623.153399565731491 (code B ref 20623); Sat, 11 Aug 2018 13:55:02 +0000 Original-Received: (at 20623) by debbugs.gnu.org; 11 Aug 2018 13:54:17 +0000 Original-Received: from localhost ([127.0.0.1]:47884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1foULQ-0008Br-QC for submit@debbugs.gnu.org; Sat, 11 Aug 2018 09:54:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1foULP-0008Be-7m for 20623@debbugs.gnu.org; Sat, 11 Aug 2018 09:54:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1foULJ-0003mO-13 for 20623@debbugs.gnu.org; Sat, 11 Aug 2018 09:54:09 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1foULC-0003iU-RS; Sat, 11 Aug 2018 09:54:02 -0400 Original-Received: from [176.228.60.248] (port=4107 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1foULC-00005K-2R; Sat, 11 Aug 2018 09:54:02 -0400 In-reply-to: (message from Stefan Monnier on Sat, 11 Aug 2018 08:45:15 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:149437 Archived-At: > From: Stefan Monnier > Cc: rgm@gnu.org, a.s@realize.ch, 20623@debbugs.gnu.org, sledergerber@gmx.net > Date: Sat, 11 Aug 2018 08:45:15 -0400 > > > > And I don't understand the comment about latin-1-mac: I don't think we > > > have such problems in Emacs. The -with-signature variety is > > > different, because it is not about EOL format. > > You might be right, but I don't know where/how this is handled. > > I still don't know where the EOL part is handled. If you tell me what do you mean by "handled" in this context, I might be able to help you understand where that happens.