cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: ResourceReader and charset information
Date Wed, 26 May 2004 21:16:15 GMT
On 26.05.2004 12:41, Volkm@r wrote:

> How can I tell ResourceReader to put a certain charset in the http header?
> 
> <map:match pattern="*.css">
>   <map:read type="resource"
>     src="resources/styles/{1}.css"
> 
>     charset="utf-8"   <== This doesn't work. How can I get it?
> 
>     mime-type="text/css">
>     <!-- option sitemap parameters -->

I fear the only possibility is to hack it into the mime-type as both 
settings end in the content-type header:
mime-type="text/css; char-set=utf-8"

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message