http://qa.mandrakesoft.com/show_bug.cgi?id=5398

           Product: apache-conf
         Component: apache-conf
           Summary: Apache should not specify a default character set for
                    text/* types
           Product: apache-conf
           Version: 2.0.47-5mdk
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: apache-conf
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


According to http://www.w3.org/TR/html401/charset.html#h-5.2.2 and
http://httpd.apache.org/docs-2.0/mod/core.html#adddefaultcharset when a charset
parameter is specified in the Content-Type HTTP header sent by the server, it
overrides the charset specified in the <meta> tag of the HTML document.

Apache shipped with Cooker has the directive AddDefaultCharset set to
"ISO-8859-1" (see commonhttpd.conf). Consequently, all HMTL documents are
considered as ISO-8859-1 documents by conforming web browsers such as Mozilla,
even if they are UTF-8 or Windows-1252 documents according to their <meta> tag.

This behavior, though not severe, is a bit irritating because in most case (if
not all) the <meta> tag reflects the correct character set for the document.


Therefore, the AddDefaultCharset directive should be set back to its default
value (Off).

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to