<div>--- In <A href="mailto:zope@yahoogroups.com">zope@yahoogroups.com</A>, "Daryl Daly" &lt;daryld@...&gt; wrote:<BR>&gt;<BR>&gt; <BR>&gt; I have setup a test case which seems to show the problem. This test<BR>&gt; removes the database component.<BR>&gt; <BR>&gt; New install of zope 2.10.2:<BR>&gt; Zope Version (Zope 2.10.2-final, python 2.4.4, linux2)<BR>&gt; Python Version 2.4.4 (#1, Oct 23 2006, 13:58:00) [GCC 4.1.1 20061011 (Red<BR>&gt; Hat 4.1.1-30)]<BR>&gt; System Platform linux2<BR>&gt; <BR>&gt; I created a page template which contains:<BR>&gt; &lt;html tal:define="dummy python:request.RESPONSE.setHeader('Content-Type',<BR>&gt; 'text/html;; charset=utf-8');" &gt;<BR>&gt;&nbsp;&nbsp; &lt;head&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;title tal:content="template/title"&gt;The title&lt;/title&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;meta http-equiv="content-type" content="text/html;charset=utf-8"&gt;<BR>&gt;&nbsp;&nbsp; &lt;/head&gt;<BR>&gt;&nbsp;&nbsp; &lt;body
 tal:define="test_str python:u'This is a test \u00e9 \u00ae \u2022<BR>&gt; \u2024 \u2219 \u03b2'.encode('utf-8')"&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;span tal:content="test_str"&gt;&lt;/span&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;form&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input name="t1" value=""<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tal:attributes="value test_str"&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/form&gt;<BR>&gt;&nbsp;&nbsp; &lt;/body&gt;<BR>&gt; &lt;/html&gt;<BR>&gt; <BR>&gt; When this page is viewed in Firefox (v 1.5.0.9), it shows the characters<BR>&gt; correctly. When viewed in IE6, the non-ascii characters show as garbage.<BR>&gt; <BR>&gt; If I add this to the zope.conf:<BR>&gt; &lt;cgi-environment&gt;<BR>&gt;&nbsp;&nbsp; HTTP_ACCEPT_CHARSET utf-8<BR>&gt; &lt;/cgi-environment&gt;<BR>&gt; <BR>&gt; the non-ascii characters show correctly in IE6 (except one of them shows<BR>&gt; as a box - there
 is no 'garbage')<BR>&gt; <BR>&gt; Is this zope.conf setup required for IE6 or am I doing something wrong?<BR>&gt; <BR>&gt; Thanks,<BR>&gt; Daryl.</div>  <div>&nbsp;</div>  <div>How about changing the following line 996 in /lib/python/zope/publisher/http.py ( as described in <A href="http://www.zope.org/Collectors/Zope/2280">http://www.zope.org/Collectors/Zope/2280</A> )</div>  <div>&nbsp;</div>  <div>&nbsp;&nbsp;&nbsp; header_present = 'HTTP_ACCEPT_CHARSET' in self.request </div>  <div>to </div>  <div>&nbsp;</div>  <div>&nbsp;&nbsp;&nbsp; header_present = 'HTTP_ACCEPT_CHARSET' in self.request.keys() </div>  <div><BR>I think this is a bug. After doing that change, IE6 and IE7 behaved <SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">consistently</SPAN>.</div>  <div>&nbsp;</div>  <div>Regards Jost</div><p>&#32;

<hr size=1>Need Mail bonding?<br>Go to the <a href="http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396546091">Yahoo! Mail Q&A</a> for <a href="http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396546091">great tips from Yahoo! Answers</a> users.