<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2>I have experienced&nbsp;<SPAN 
class=312122721-18022007>on my installation </SPAN>that Zope decides that the 
character set should be iso-8859-1 for IE7 even no HTTP_ACCEPT_CHARSET is sent 
from IE7 and preferred charset is utf-8. Firefox submits HTTP_ACCEPT_CHARSET and 
Zope handles that OK.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><A href="http://www.zope.org/Collectors/Zope/2280"><FONT face=Arial 
size=2>http://www.zope.org/Collectors/Zope/2280</FONT></A></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I'm wondering what the correct way to set up Zope 
to use utf-8?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Have set sys.setdefaultencoding('utf-8') in 
/usr/local/lib/python2.4/site.py.<BR>Have set management_page_charset='utf-8' as 
property of / in ZMI.<BR>Have set default-zpublisher-encoding utf-8 in 
etc/zope.conf.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>After the comments in the Collector above I'm 
wondering what to&nbsp;<SPAN class=312122721-18022007>do </SPAN>if I should not 
set the sys.setdefaultencoding()? Not changing the default encoding I always get 
a decode error when trying to save a page template with non-ascii 
characters.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regards Jost<BR></FONT></DIV></BODY></HTML>