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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>125225</bug_id>
          
          <creation_ts>2013-12-04 08:10:07 -0800</creation_ts>
          <short_desc>Support fewer text encoding names, don&apos;t blindly enumerate everything from ICU</short_desc>
          <delta_ts>2020-05-05 14:53:48 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Text</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc>data:text/html;charset=windows-65001,&lt;script&gt;alert(document.characterSet)&lt;/script&gt;</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="Anne van Kesteren">annevk</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>hsivonen</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>956400</commentid>
    <comment_count>0</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2013-12-04 08:10:07 -0800</bug_when>
    <thetext>Supporting labels such as windows-65001 for utf-8 seems bad.

Any chance you could align closer to Gecko and http://encoding.spec.whatwg.org/ ? Supporting more labels is not necessarily in your benefit. E.g. sites might rely on them not being supported.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>956417</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-12-04 09:53:38 -0800</bug_when>
    <thetext>Yes, I want to switch from enumerating all ICU aliases to having a built-in table in WebKit. That will have the side effect of removing support for some crazy encoding names.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>956419</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-12-04 09:57:11 -0800</bug_when>
    <thetext>That said, the ideal resolution would be to have an ICU &quot;standard&quot; for HTML5, so that the right names would be in ICU. This is exactly what those are for, and I find it less than great that HTML encoding names are tracked in the Encoding spec, not in ICU.

See &lt;http://demo.icu-project.org/icu-bin/convexp&gt; - there are separate namespaces for MIME, IANA, and others. HTML is just another case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>956534</commentid>
    <comment_count>3</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2013-12-04 12:57:11 -0800</bug_when>
    <thetext>ap, I don&apos;t understand that feedback. Why would it not be good to have a standard for what ICU should implement? ICU is not the only implementation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>956559</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-12-04 13:25:07 -0800</bug_when>
    <thetext>True. Maybe that would be another project under Unicode consortium umbrella (CLDR perhaps)?

The stellar history of the consortium&apos;s interaction with many interested parties makes it a desirable gatekeeper for a sensitive spec like this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>956571</commentid>
    <comment_count>5</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2013-12-04 13:34:58 -0800</bug_when>
    <thetext>I don&apos;t really see what moving it brings us. It&apos;s mostly a research project.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963691</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-01-01 23:20:44 -0800</bug_when>
    <thetext>See also: bug 28760.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1649388</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-05-05 14:53:48 -0700</bug_when>
    <thetext>This was done a few years ago.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>