W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2004

Re: Wrong XHTML encoding

From: Irene Vatton <irene.vatton@inrialpes.fr>
Date: Mon, 12 Jul 2004 15:05:48 +0200
To: Torsten Bronger <bronger@physik.rwth-aachen.de>
Cc: www-amaya@w3.org
Message-Id: <20040712150548.7d0a6801.irene.vatton@inrialpes.fr>

On Sat, 10 Jul 2004 18:00:47 +0200
Torsten Bronger <bronger@physik.rwth-aachen.de> wrote:

> 
> Halloechen!
> 
> When I open test.xhtml with the following contents
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
>        "../xhtml11.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
>   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
>   <title>Artikel</title>
>   <meta name="generator" content="amaya 8.6, see http://www.w3.org/Amaya/" />
> </head>
> 
> <body>
> </body>
> 
> add some accented characters and save it as the same XHTML file,
> the encoding remains latin-1, but no
> 
> <?xml version="1.0" encoding="iso-8859-1"?>
> 
> is generated.

Amaya doesn't generate the XML declaration when there is a XHTML DOCTYPE, 
because it's not strictly necessary and some browsers are not confortable with this
XML declaration.

Regards
     Irene.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France
Received on Monday, 12 July 2004 09:06:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:44 UTC