You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2004/09/14 18:06:46 UTC

DO NOT REPLY [Bug 31221] New: - ResourceReader ignores Charset info given in mime-type="text/css; charset=utf-8"

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31221>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31221

ResourceReader ignores Charset info given in mime-type="text/css; charset=utf-8"

           Summary: ResourceReader ignores Charset info given in mime-
                    type="text/css; charset=utf-8"
           Product: Cocoon 2
           Version: 2.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: volkmar@pogatzki.net


ResourceReader should be configurable to send HTTP header including charset
info. Serializers do this but ResourceReader does not. From following sitemap
pattern it only puts "text/css" into content-type header:

<map:match pattern="**.css">
  <map:read mime-type="text/css; charset=utf-8" src="{1}.css"/>
</map:match>

There is no chance to ensure that CSS files are sent with correct charset info.