<?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>6046</bug_id>
          
          <creation_ts>2005-12-11 22:14:34 -0800</creation_ts>
          <short_desc>Need to cleanup charset aliases support</short_desc>
          <delta_ts>2007-03-31 11:45:27 -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>DOM</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ian</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>25847</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2005-12-11 22:14:34 -0800</bug_when>
    <thetext>With a fix to bug 5932 in place, WebCore uses both its own and ICU&apos;s tables for charset names. There are 
a lot of redundant entries that should be removed (I&apos;m not even sure if any aliases known to WebCore are 
missing from ICU).

Also, ICU works directly with charset names, so it&apos;s unnecessary to convert them to CFStringEncodings and 
back.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26138</commentid>
    <comment_count>1</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2005-12-18 14:25:37 -0800</bug_when>
    <thetext>Note that WebCore&apos;s lookup ignores case and all non-alphanumeric characters. So that if WebCore lists 
&quot;UTF-8&quot;, then &quot;u&lt;t&gt;f-8-&quot; will also work.

Since ICU does not have this property, we&apos;d need to do something if we want to preserve this behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26172</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2005-12-19 03:38:15 -0800</bug_when>
    <thetext>(In reply to comment #1)
ICU does something similar: it ignores case, dashes, spaces and underscores. Dunno whether ignoring 
other non-alphanumeric symbols is useful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16041</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-03-31 11:45:27 -0700</bug_when>
    <thetext>Charset handling has been refactored, this bug doesn&apos;t appear useful anymore.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>