W3C home > Mailing lists > Public > public-css-testsuite@w3.org > November 2007

Re: Adding <meta> charset to HTML format tests

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 28 Nov 2007 23:26:45 +0000 (UTC)
To: fantasai <fantasai.lists@inkedblade.net>
Cc: public-css-testsuite@w3.org
Message-ID: <Pine.LNX.4.62.0711282322150.3737@hixie.dreamhostps.com>

On Mon, 26 Nov 2007, fantasai wrote:
> > 
> > Should we consider adding
> >     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
> > to the HTML version of the tests so that they work when downloaded?
> This should do it, although I'm not sure if it's the right place to put 
> the change. Ian, does that look ok to you, or should this be in the 
> makefile instead?

I don't understand why this would be in the Makefile. The right way to do 
this is to manipulate the DOM tree before you serialise the DOM, though, 
not regular expressions like the way the proposed patch does it.

Personally I'm not convinced we should be supporting non-HTTP variants. 
The encoding should be in the HTTP headers. We'll almost certainly end up 
with tests that require CGI scripts on the server side to test particular 
edge cases (like timing issues).

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 28 November 2007 23:26:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:13 UTC