[Webkit-unassigned] [Bug 17537] New: Try MIME before trying IANA names when enumerating ICU converters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 25 13:56:35 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=17537

           Summary: Try MIME before trying IANA names when enumerating ICU
                    converters
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jungshik.shin at gmail.com


In TextCodecICU, IANA names are tried, but MIME names are not tried.

The result is that we get horrendously long names like
'Extended_UNIX_Code_Packed_Format_for_Japanese' for common encodings like
'EUC-JP'. 

These long names are also exposed via 'document.charset' (or a couple of other
similar properties). See fast/encoding/hanarei-blog32-fc2-com.html

What we can do is try MIME first and then try IANA. If we only try MIME, 
windows-125x won't be picked up. So, we have to try both, but MIME first to
pick up more commonly recognized names like EUC-JP. 

I have a patch for this and I'll upload it soon.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list