[Webkit-unassigned] [Bug 11011] New: External CSS is parsed as iso-8859-1 even though charset=utf-8 has been specified

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sun Sep 24 14:12:32 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=11011

           Summary: External CSS is parsed as iso-8859-1 even though
                    charset=utf-8 has been specified
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
               URL: http://simon.html5.org/test/css/syndata/representation/0
                    01.htm
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: zcorpan at hotmail.com


iso-8859-1 (or perhaps windows-1252?) is assumed for external style sheets,
even though charset=utf-8 has been specified in Content-Type HTTP header. See
http://www.w3.org/TR/CSS21/syndata.html#q23 for how encoding information should
be gathered for CSS.

Steps to reproduce:
1. Use non-ascii characters in a utf-8 stylesheet in 'content'.
2. Specify charset=utf-8 in Content-Type HTTP header.

Expected results:
The style sheet should be parsed with the specified encoding (utf-8).

Actual results:
The style sheet is parsed as iso-8859-1 (or windows-1252?).


-- 
Configure bugmail: http://bugzilla.opendarwin.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