- From: poot <cvsmail@w3.org>
- Date: Fri, 04 Mar 2011 18:24:47 -0500
- To: public-html-diffs@w3.org
eliot: Edited section 3 per requests in bug 12062, comment 9; http://dev.w3.org/cvsweb/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html?r1=1.64&r2=1.65&f=h =================================================================== RCS file: /sources/public/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html,v retrieving revision 1.64 retrieving revision 1.65 diff -u -d -r1.64 -r1.65 --- html-xhtml-authoring-guide.html 4 Mar 2011 19:57:35 -0000 1.64 +++ html-xhtml-authoring-guide.html 4 Mar 2011 23:23:34 -0000 1.65 @@ -238,8 +238,7 @@ <!--OddPage--><h2><span class="secno">3. </span>Specifying a Document's Character Encoding</h2> <p> <a class="internalDFN" href="#dfn-polyglot-markup" title="polyglot markup">Polyglot markup</a> uses either UTF-8 or UTF-16. UTF-8 is preferred. - When <a class="internalDFN" href="#dfn-polyglot-markup">polyglot markup</a> uses UTF-16, it <em title="must" class="rfc2119">must</em> include a BOM indicating - little-endian UTF-16 or big-endian UTF-16, per XML, <a href="http://www.w3.org/TR/REC-xml/#charencoding">Character Encoding in Entities</a>. [<cite><a href="#bib-XML10" rel="biblioentry" class="bibref">XML10</a></cite>] + When <a class="internalDFN" href="#dfn-polyglot-markup">polyglot markup</a> uses UTF-16, it <em title="must" class="rfc2119">must</em> include the BOM, per <a href="http://www.w3.org/TR/REC-xml/#charencoding">Character Encoding in Entities</a>. [<cite><a href="#bib-XML10" rel="biblioentry" class="bibref">XML10</a></cite>] </p> <p> <a class="internalDFN" href="#dfn-polyglot-markup" title="polyglot markup">Polyglot markup</a> declares character encoding in the following ways, which may be used separately or in combination @@ -247,7 +246,7 @@ </p><ul> <li>Within the document</li> <ul> - <li>By using the BOM of the specific encoding.</li> + <li>By using the BOM.</li> <li>By relying on UTF-8 as the encoding default of XML, used in combination with the HTML <code><meta charset="UTF-8"/></code> element.</li> </ul> <li>In the HTTP header of the response [<cite><a href="#bib-HTTP11" rel="biblioentry" class="bibref">HTTP11</a></cite>], as in the following: @@ -999,6 +998,7 @@ + <!-- Appendix --> <div id="acknowledgements" class="appendix section"> <h2><span class="secno">A. </span>Acknowledgements</h2>
Received on Friday, 4 March 2011 23:24:49 UTC