Ralph Corderoy writes:
Hi David,
Ken's pointed out the <meta> wasn't in the original message; were you
seeing that in Chrome's view of the source? It might add it based on
the default it chose. Ken said the HTML default was Windows-1252; it
seems surprising Windows was ever a default. I thought it was
ISO-8859-1 up until HTML 5 which explicitly states it's UTF-8 along with
a system for guessing based on the byte values.
As far as I know, HTML does not assume UTF-8. Before HTML5 it deferred to
the HTTP default which for a long time was ISO-8859-1 for text/html (barring
an explicit charset declaration at the HTTP level). But I think this
changed in a recent RFC. And I think HTML5 might no longer defer to HTTP in
this way, at least for documents without a charset at either level.
The Windows-1252 thing is separate: in HTML5 ISO-8859-1 is always treated
as Windows-1252, due to how common such incorrectly marked documents are on
the web.
--
Anthony J. Bentley
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers