<?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>23650</bug_id>
          
          <creation_ts>2013-10-27 21:02:17 +0000</creation_ts>
          <short_desc>Consider making the label for utf-8 &quot;UTF-8&quot;</short_desc>
          <delta_ts>2013-10-28 12:20:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>Encoding</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>19395</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ms2ger">Ms2ger</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>duerst</cc>
    
    <cc>mike</cc>
    
    <cc>www-international</cc>
          
          <qa_contact>sideshowbarker+encodingspec</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95411</commentid>
    <comment_count>0</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2013-10-27 21:02:17 +0000</bug_when>
    <thetext>Chrome and Gecko seem to use the upper case version, IE might use lower case though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95413</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Dürst">duerst</who>
    <bug_when>2013-10-28 01:56:41 +0000</bug_when>
    <thetext>Charset/encoding labels are case-insensitive all over the Internet, so with respect to functionality, this shouldn&apos;t matter at all. And the spec explicitly says so, please look for http://encoding.spec.whatwg.org/#ascii-case-insensitive.

If it makes a difference, then something somewhere (browser or server or other) is broken, and should be fixed. If this is indeed the case, it would be good to have examples.

As for whether the spec should use &apos;utf-8&apos; or &apos;UTF-8&apos;, I personally would prefer &apos;UTF-8&apos;, because being an acronym, that&apos;s how it&apos;s written in books and other documentation. But looking at the spec, that would mean that many other labels (starting with US-ASCII and ISO-8859-1) would have to be upper-cased, too.

As this is a purely editorial issue, we can leave that to the editor. An alternative is to provide a pull request.

What I&apos;d like to avoid is to change the case of the file names for the data files for the encodings. Software that handles that may not do case-insensitive there. (But if we change these too, that&apos;s not the end of the world either.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95418</commentid>
    <comment_count>2</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2013-10-28 10:13:37 +0000</bug_when>
    <thetext>This is not an editorial issue; it affects what document.characterSet returns.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95427</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-10-28 12:19:00 +0000</bug_when>
    <thetext>IE10 uses lowercase.

I think last I checked Gecko used lowercase for gb18030 or some such. Gecko was not consistent and neither was Chrome. All lowercase seemed better therefore as it&apos;s easier to predict.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95428</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-10-28 12:20:58 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 19395 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>