cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: Encoding problems
Date Tue, 11 Mar 2003 18:38:56 GMT
Amir Rosen wrote:

>  
>
>>-----Original Message-----
>>From: Stefano Mazzocchi [mailto:stefano@apache.org]
>>Sent: Tuesday, March 11, 2003 8:22 PM
>>To: cocoon-dev@xml.apache.org
>>Subject: Re: Encoding problems
>>
>>
>>Vadim Gritsenko wrote:
>>    
>>
>>>Stefano Mazzocchi wrote:
>>>...
>>>
>>>      
>>>
>>>>On the other hand, by placing
>>>>
>>>> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
>>>>        
>>>>
>>>>the server creates an HTTP header that instructs the user-agent about 
>>>>        
>>>>
>>>>the encoding. This solved the encoding problem on *all* browsers.
>>>>        
>>>>
>>>
>>>Why not simply patch the serializer to set proper 
>>>      
>>>
>>content-type header?
>>
>>    
>>
>Because it will not work for cached content ?
>  
>

Then cache has to be fixed, that's it.
Adding <meta/> to the XSLT is soooooo hacky! What if you have your 
output encoding determined dynamically?

Vadim



Mime
View raw message