[Zope-CMF] Charsets

yuppie y.2009 at wcm-solutions.de
Mon Jan 19 05:32:46 EST 2009


Charlie Clark wrote:
> Am 18.01.2009 um 23:00 schrieb yuppie:
> I agree that there shouldn't be implemented in a different way than  
> for Zope 3. And if we can solve the problems by fixing form encoding  
> I'm happy. Although I'd like to see UTF-8 always the first charset  
> returned if * the quality is the same.

zope.publisher.http.HTTPCharsets explicitly prefers utf-8. Are you sure 
getPreferredCharsets()[0] is iso-8859-1 with your browser? Or do you 
override somewhere the Content-Type header set by setPageEncoding()? 
AFAICS CMFDefault works exactly the way you expect it to.

Cheers, Yuppie



More information about the Zope-CMF mailing list