W3C home > Mailing lists > Public > public-evangelist@w3.org > November 2006

Re: japanese encoding nightmare

From: Daniel Barclay <daniel@fgm.com>
Date: Mon, 13 Nov 2006 13:14:53 -0500
Message-ID: <4558B61D.1020503@fgm.com>
To: Paul Arenson <paul@tokyoprogressive.org>
CC: public-evangelist@w3.org

Paul Arenson wrote:
>>> CODE
>>>  <meta content="text/html; charset=UTF-8" http-equiv="content-type">
>> but this page is not in utf-8 but in shift-jis
>> Either you have to save your page as utf-8 or to change the encoding 
>> information to
>> <META HTTP-EQUIV="Content-Type" CONTENT="text/html;">
> It is?  I don't recall using that.  hmmm.  And when i save to desktop, 
> changing to shift jis doesn't help, nor does looking at it on the web. 
> Oh well....

Remember that <META HTTP-EQUIV="..." ...> elements are not supposed
to be read by the browser when the browser retrieved the document
from a server.

Such META elements are for the server to read and use to construct
real HTTP header fields (if the server chooses that mechanism).

(When dereferencing a "file:..." URL, there is no explicit service,
so browsers are probably allowed to read META elements, but they
very well might not.)

Received on Monday, 13 November 2006 18:15:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:16:19 UTC