On 30 Dec 2002 11:47:28 -0800, Brion Vibber <brion(a)pobox.com> wrote:
On lun, 2002-12-30 at 11:06, Richard Grevers wrote:
Hi again,
I attempted to submit a sample Wkipedia page to the W3C validator and
was amzaed to see that carried no character encoding whatsoever.
Eh?
GET /wiki/foobar HTTP/1.0
Host:
www.wikipedia.org
HTTP/1.1 200 OK
Date: Mon, 30 Dec 2002 19:38:38 GMT
Server: Apache/1.3.26 (Unix) PHP/4.2.3
X-Powered-By: PHP/4.2.3
Set-Cookie: PHPSESSID=19b987cd1b0790c6b079be08069f63f0; path=/
Expires: 0
Cache-Control: no-cache
Last-Modified: Mon, 30 Dec 2002 19:38:44 GMT
Pragma: no-cache
Content-language: en
Connection: close
Content-Type: text/html; charset=iso-8859-1
Right there, plain as day.
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.wikipedia.org%2Fwiki%2Ff…
makes no complaints, either.
Aha! One of the rare sites which uses the HTTP header and only the HTTP
header to declare encoding. This tricked Opera's built-in validation
submission, which actually uploads it's cached copy of the page, hence no
header. Sorry for the false alarm.
--
Richard Grevers