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

Re: Amaya bug: charset information stripped out

From: Irene Vatton <irene.vatton@inrialpes.fr>
Date: Mon, 18 Aug 2003 14:23:24 +0200
To: <ishida@w3.org>
Cc: www-amaya@w3.org, duerst@w3.org
Message-Id: <20030818142324.7e4b91e7.irene.vatton@inrialpes.fr>

On Fri, 15 Aug 2003 18:24:04 +0100
"Richard Ishida" <ishida@w3.org> wrote:

> 
> We have several times found that Amaya strips the charset declaration,
> ie. in our case,
> 
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 
> 
> from an XHTML file during either editing or saving.

date: 2002/06/27
Amaya no longer generates a <meta http-equiv ... > element when it
saves a XHTML document (and removes this element if it exists) to avoid
conflicts between the charset in the XML declaration and the meta charset.

When you request to save the document in HTML (See Save As),
Amaya adds the meta.

So the charset is either defined by the XML declaration or the meta element.

> This is bad enough normally, but we are posting files now without the
> XML declaration to ensure that IE works in standards mode.  That leaves
> the file without any internal encoding information. Please rectify this
> as soon as possible.
> 
> Also, please check whether Amaya takes any other such decisions on
> behalf of the user.  In my opinion the default should be to leave the
> file untouched.  If any cleaning is done it should be an option and the
> user should be asked whether it is appropriate.
> 
> Thankyou,
> RI
> 
> ============
> Richard Ishida
> W3C
> 
> tel: +44 1753 480 292
> http://www.w3.org/People/Ishida/ 
> http://www.w3.org/International/ 
> http://www.w3.org/International/geo/ 
> 
> See the W3C Internationalization FAQ page
> http://www.w3.org/International/questions.html
> 
> 
> 


     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, 18 August 2003 08:23:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:40 UTC