Re: Adding <meta> charset to HTML format tests

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