Re: UTF-8 isn't the default for HTML (was: xkcd: LTR)

From: Leif Halvard Silli <>
Date: Thu, 29 Nov 2012 13:51:54 +0100

Philippe Verdy, Thu, 29 Nov 2012 13:26:28 +0100:
> You're wrong. XHTML1 is integrated in the W3C validator and
> recognized automatically.

Indeed, yes. What I meant by "doesn't integrate XHTML1' was that
Unicorn doesn't 100% adhere to the two sections of XHTML1 that I

> The document you cite in the XHTML1 specs has just not been updated.

The validator must of course implement what XHTML1 says.

> Anyway this site is
> actually using XHTML1.1 (in its strict schema, not a transitional
> schema)

A relevant point, of course. But XHTML11 says the same thing:

[3] 'XHTML 1.1 documents SHOULD be labeled with the Internet Media Type
"application/xhtml+xml" as defined in [RFC3236]. For further
information on using media types with XHTML, see the informative note

The XHTMLMIME note says:

[4] 'The 'text/html' media type [RFC2854] is primarily for HTML, not
for XHTML. In general, this media type is NOT suitable for XHTML except
when the XHTML is conforms to the guidelines in Appendix A.'

[5] 'DO set the encoding via a "meta http-equiv" statement in the
document (e.g., <meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />)'


leif halvard silli
Received on Thu Nov 29 2012 - 06:54:13 CST

This archive was generated by hypermail 2.2.0 : Thu Nov 29 2012 - 06:54:14 CST