unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#33429: 26.1.50; XML: Mistakenly complains about encoding
@ 2018-11-19 11:58 Benny Riefenstahl
  2018-11-19 16:39 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Benny Riefenstahl @ 2018-11-19 11:58 UTC (permalink / raw)
  To: 33429

[-- Attachment #1: Type: text/plain, Size: 440 bytes --]

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.


[-- Attachment #2: test.xml --]
[-- Type: application/xml, Size: 65 bytes --]

<?xml version="1.0" encoding="iso-8859-1"?>
<root>
  äöü
</root>

[-- Attachment #3: Type: text/plain, Size: 297 bytes --]



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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#33429: 26.1.50; XML: Mistakenly complains about encoding
  2018-11-19 11:58 bug#33429: 26.1.50; XML: Mistakenly complains about encoding Benny Riefenstahl
@ 2018-11-19 16:39 ` Eli Zaretskii
  2018-11-22 13:28   ` Benjamin Riefenstahl
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2018-11-19 16:39 UTC (permalink / raw)
  To: Benny Riefenstahl; +Cc: 33429

> From: Benny Riefenstahl <riefenstahl@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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#33429: 26.1.50; XML: Mistakenly complains about encoding
  2018-11-19 16:39 ` Eli Zaretskii
@ 2018-11-22 13:28   ` Benjamin Riefenstahl
  0 siblings, 0 replies; 3+ messages in thread
From: Benjamin Riefenstahl @ 2018-11-22 13:28 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 33429

Eli Zaretskii writes:
> Thanks, should be fixed now on the emacs-26 branch.

That works perfect, thank you.

MfG,
Benjamin Riefenstahl

-- 
mecom Medien-Communikations-Gesellschaft mbH

Mittelweg 143, D 20148 Hamburg

Tel: +49 40 411332 801

Fax: +49 40 451962

http://www.mecom.de

Registergericht Hamburg, HRB 43177

Geschäftsführung: Barbara Bliefert, Norbert Schmidt-Banasch





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-11-22 13:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-19 11:58 bug#33429: 26.1.50; XML: Mistakenly complains about encoding Benny Riefenstahl
2018-11-19 16:39 ` Eli Zaretskii
2018-11-22 13:28   ` Benjamin Riefenstahl

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).