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

RE: no encoding specified when creating XHTML documents

From: (wrong string) <yergeau@alis.com>
Date: Wed, 23 Aug 2000 15:02:07 -0400
To: <www-amaya@w3.org>
Message-ID: <001701c00d34$a27a04e0$788011ac@fyergeau2.intra.alis.com>
Vincent QUINT wrote:
> If your documents are written in French, I suggest you set a
> lang attribute on the <html> or <body> element. Use the Attribute
> button to do that. Then, when you save a document, the encoding
> is added to the XML declaration and a <meta http-equiv...> element
> is generated with the right charset.

Bad idea, IMHO.  Charset is mostly orthogonal to language and one cannot be
inferred from the other in general.  As for the <meta http-equiv...>, it
should always be there, whether the user specifies a language or not (there
is always a charset!)

--
François Yergeau
Received on Wednesday, 23 August 2000 15:05:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:24:27 GMT