<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>10150</bug_id>
          
          <creation_ts>2010-07-13 19:50:01 +0000</creation_ts>
          <short_desc>[polyglot] i18n comment 2 : In-document declarations always useful</short_desc>
          <delta_ts>2010-10-05 13:07:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML/XHTML Compat. Authoring Guide (ed: Eliot Graff)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.w3.org/TR/2010/WD-html-polyglot-20100624/#character-encoding</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Ishida">ishida</reporter>
          <assigned_to name="Eliot Graff">eliotgra</assigned_to>
          <cc>eliotgra</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>public-i18n-core</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36806</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Ishida">ishida</who>
    <bug_when>2010-07-13 19:50:01 +0000</bug_when>
    <thetext>Comment from the i18n review of:
http://www.w3.org/TR/2010/WD-html-polyglot-20100624/

Comment 2
At http://www.w3.org/International/reviews/1007-polyglot/
Editorial/substantive: S
Tracked by: RI

Location in reviewed document:
3. Character Encoding [http://www.w3.org/TR/2010/WD-html-polyglot-20100624/#character-encoding]

Comment: 
&quot;In addition, polyglot markup need not include the meta charset declaration, because the parser would have to read UTF-16 in order to parse it by definition.&quot;

 
The i18n WG guidelines recommend, nevertheless, that you always include a visible encoding declaration in your document, since it helps developers, testers, or translation production managers who want to visually check the encoding of a document. So it&apos;s true to say that you strictly don&apos;t need it, but we would prefer that people do. Please could you reflect that in your document.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39615</commentid>
    <comment_count>1</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2010-09-27 21:44:32 +0000</bug_when>
    <thetext>The 27 September editor&apos;s draft contains the following changes:

Section 3 now reads:

**************************

3. Specifying a Document&apos;s Character Encoding
Polyglot markup uses either UTF-8 or UTF-16. UTF-8 is preferred. When polyglot markup uses UTF-16, it must include the BOM indicating UTF-16LE or UTF-16BE. 

Polyglot markup declares character encoding one of two ways: 

By using the BOM. 
In the HTTP header of the response [HTTP11], as in the following: 
Content-type: text/html; charset=utf-8 
or 
Content-type: text/html; charset=utf-16 

Note that polyglot markup may use either text/html or application/xhtml+xml for the value of the content type. 

Using &lt;meta charset=&quot;*&quot;/&gt; has no effect in XML. Therefore, polyglot markup may use &lt;meta charset=&quot;*&quot;/&gt; in combination with BOM, as long the meta element specifies the same character encoding as the BOM. In addition, the meta tag may be used in the absence of a BOM as long as it matches the already specified encoding. Note that the W3C Internationalization (i18n) Group recommends to always include a visible encoding declaration in a document, because it helps developers, testers, or translation production managers to check the encoding of a document visually. 

**************************

I believe that this satisfies the request in this bug. thank you for your patience.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>