Thomas 'PointedEars' Lahn wrote:
Quote:
meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1"
[...]
The following browsers added the META element on save as test.html
according to the resource's HTTP Content-Type header: |
I think they add it only if the document does not already contain character
encoding information. In my experience, it has become more and more common
to declare the encoding in the document (possibly large because authoring
software, content management systems and other software do that
automatically).
Moreover, it may depend on the mode of saving. IE 8 does not add the META
tag when saving "HTML only" but adds it (if missing) when saving "entire WWW
page".
Quote:
The test document, accessed as <http://localhost/tmp/test.php>, was: |
A local document, when served by a local HTTP server, is probably OK for
testing, except that others cannot access it.
--
Yucca, http://www.cs.tut.fi/~jkorpela/