W3C home > Mailing lists > Public > www-talk@w3.org > November to December 2003

RE: Problem on finding charset

From: Asbjørn Ulsberg <asbjorn.ulsberg@nrk.no>
Date: Mon, 17 Nov 2003 13:35:59 +0100
Message-ID: <2F5FCCC2AE06D711B3AE00508B08F80AAA7211@MAEXCH09>
To: 'Paul Lin' <linjinbo@bj.tom.com>
Cc: www-talk@w3.org

www-talk-request@w3.org wrote:

> I check the source code of web page, the source codes
> have <meta http-equiv="Content-Type" content="text/html;
> charset=gb2312"> or other charsets. so I though it should
> return "gb2312" or whatever after "charset=".

I guess the charset returned is the one set in the HTTP header
'Content-Type', and not the one set in the <meta> HTML header.
Whenever you can, remove all 'http-equiv' <meta> headers from
the HTML, and put them in HTTP instead.

'http-equiv' is a backup solution for situations where the HTTP
headers aren't reachable.

Asbjørn Ulsberg           -=|=-          X-No-Archive: No
"He's a loathsome offensive brute, yet I can't look away"
Received on Monday, 17 November 2003 07:37:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:05 UTC