RE: Amaya bug: charset information stripped out

Irene, 

Thanks for this explanation, but it still doesn't allow me to save XHTML
Transitional pages in a way that will allow standards-mode on IE.  This
means that I cannot use Amaya for any of the web pages I currently
develop. (I imagine that would apply to a lot of other people too.)

If there happens to be a conflict between the xml declaration and the
charset declaration, I would like Amaya to inform me when I save, and
offer me the chance to change it, rather than take (in this case
incorrect) decisions on my behalf.  

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



> -----Original Message-----
> From: Irene Vatton [mailto:irene.vatton@inrialpes.fr] 
> Sent: 18 August 2003 13:23
> To: ishida@w3.org
> Cc: www-amaya@w3.org; duerst@w3.org
> Subject: Re: Amaya bug: charset information stripped out
> 
> 
> 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:48:33 UTC