<?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>10257</bug_id>
          
          <creation_ts>2010-07-29 07:18:52 +0000</creation_ts>
          <short_desc>Meta charset sniffing need to resolve aliases before checking UTF-16ness</short_desc>
          <delta_ts>2010-12-01 15:30:24 +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 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>https://bugzilla.mozilla.org/show_bug.cgi?id=582788</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="Henri Sivonen">hsivonen</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>mike</cc>
    
    <cc>Ms2ger</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</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>37157</commentid>
    <comment_count>0</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2010-07-29 07:18:52 +0000</bug_when>
    <thetext>Step 12 says &quot;If charset is a UTF-16 encoding, change the value of charset to UTF-8.&quot;

It should resolve charset to the canonical name first, and if that&apos;s UTF-16, UTF-16BE or UTF-16LE (what about 32?), change charset to UTF-8?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37160</commentid>
    <comment_count>1</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2010-07-29 07:31:29 +0000</bug_when>
    <thetext>Actually, Safari allows iso-10646 to sniff to the default instead of UTF-8. So maybe this bug report is wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37162</commentid>
    <comment_count>2</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2010-07-29 11:36:19 +0000</bug_when>
    <thetext>Thanks to Philip, I&apos;ve examined four Web pages that declare iso-10646 in meta. (Thankfully, they are rare.) 3 were ASCII. One was Windows-1252. So from this data, it seems we should *not* do alias resolution before the UTF-16 to UTF-8 aliasing step.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37163</commentid>
    <comment_count>3</comment_count>
    <who name="Henri Sivonen">hsivonen</who>
    <bug_when>2010-07-29 12:05:16 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Actually, Safari allows iso-10646 to sniff to the default instead of UTF-8. So
&gt; maybe this bug report is wrong.

Chances are I&apos;m misreading Safari&apos;s encoding menu.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>