GNU bug report logs - #33429
26.1.50; XML: Mistakenly complains about encoding

Previous Next

Package: emacs;

Reported by: Benny Riefenstahl <riefenstahl <at> mecom.de>

Date: Mon, 19 Nov 2018 12:23:02 UTC

Severity: normal

Found in version 26.1.50

Fixed in version 26.2

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Benny Riefenstahl <riefenstahl <at> mecom.de>
Cc: 33429 <at> debbugs.gnu.org
Subject: bug#33429: 26.1.50; XML: Mistakenly complains about encoding
Date: Mon, 19 Nov 2018 18:39:53 +0200
> From: Benny Riefenstahl <riefenstahl <at> mecom.de>
> Date: Mon, 19 Nov 2018 12:58:42 +0100
> 
> 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.

Thanks, should be fixed now on the emacs-26 branch.




This bug report was last modified 6 years and 179 days ago.

Previous Next


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