From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Benny Riefenstahl Newsgroups: gmane.emacs.bugs Subject: bug#33429: 26.1.50; XML: Mistakenly complains about encoding Date: Mon, 19 Nov 2018 12:58:42 +0100 Message-ID: <86zhu5qnwt.fsf@riefenstahl3.mecom.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1542630526 29437 195.159.176.226 (19 Nov 2018 12:28:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2018 12:28:46 +0000 (UTC) To: 33429@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 19 13:28:42 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 1gOifL-0007Pj-ML for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Nov 2018 13:28:35 +0100 Original-Received: from localhost ([::1]:55704 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOihS-0003eA-6g for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Nov 2018 07:30:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOia6-00061K-1J for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2018 07:23:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOia1-0004GK-Tp for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2018 07:23:09 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55455) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gOiZz-0004Et-GR for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2018 07:23:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gOiZz-00023A-9o for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2018 07:23:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Benny Riefenstahl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Nov 2018 12:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33429 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15426301327806 (code B ref -1); Mon, 19 Nov 2018 12:23:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Nov 2018 12:22:12 +0000 Original-Received: from localhost ([127.0.0.1]:59713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOiZ9-00021q-Ry for submit@debbugs.gnu.org; Mon, 19 Nov 2018 07:22:12 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48103) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gOiZ6-00021b-9A for submit@debbugs.gnu.org; Mon, 19 Nov 2018 07:22:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOiZ0-0003hn-Ba for submit@debbugs.gnu.org; Mon, 19 Nov 2018 07:22:03 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53185) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gOiZ0-0003hh-8h for submit@debbugs.gnu.org; Mon, 19 Nov 2018 07:22:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOiYz-0004ez-9q for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2018 07:22:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOiYw-0003fL-62 for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2018 07:22:01 -0500 Original-Received: from smtp1.mecom.de ([193.109.231.32]:56455) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gOiYv-0003dk-UK for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2018 07:21:58 -0500 Original-Received: from [192.168.226.229] (helo=riefenstahl3.mecom.de.mecom.de) by smtp1.mecom.de with esmtps (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.50) id 1gOiCQ-0007pN-CE for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2018 12:58:42 +0100 X-Host-Lookup-Failed: Reverse DNS lookup failed for 192.168.226.229 (failed) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:152529 Archived-At: --=-=-= Content-Type: text/plain When I open the attached file test.xml in "emacs -Q", Emacs complains in *Warnings*: Warning (emacs): File contents detected as iso-latin-1. Consider adding an xml declaration with the encoding specified, or saving as utf-8, as mandated by the xml specification. The file looks fine to me, I have even used nxml-insert-xml-declaration to re-create the XML declaration. Reproduced in a current build of emacs-26 and on master. --=-=-= Content-Type: application/xml; charset=iso-8859-1 Content-Disposition: attachment; filename=test.xml Content-Transfer-Encoding: base64 PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8cm9vdD4KICDk9vwK PC9yb290Pgo= --=-=-= Content-Type: text/plain In GNU Emacs 26.1.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2018-09-05 built on riefenstahl-thinkpad Repository revision: 9618e16efa5607664b794795fb80bdf5862fbe4b Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 System Description: Ubuntu 16.04.5 LTS --=-=-=--