<div>Dieter, Andreas and Daryl</div> <div> </div> <div>Here comes a detailed description of a new Zope-installation I just made on a new Debian (testing) machine. Here are the steps to reproduce my problem. (I'm still not sure it is a problem other than me not understanding how this should work).</div> <div> </div> <div>Downloading Zope<BR>wget <A href="http://www.zope.org/Products/Zope/2.10.2/Zope-2.10.2.tgz">http://www.zope.org/Products/Zope/2.10.2/Zope-2.10.2.tgz</A><BR>tar -xzvf Zope-2.10.2.tgz</div> <div>cd Zope-2.10.2-final</div> <div> ./configure --prefix=/usr/local/zope</div> <div>make</div> <div>sudo make install</div> <div>sudo ./usr/local/zope/bin/mkzopeinstance.py</div> <div>/usr/local$ sudo chown -R zope.zope zope<BR>/usr/local$ sudo chown -R zope.zope zopeinst</div> <div>sudo jed /usr/local/zopeinst/etc/zope.conf<BR><-- set effective-user zope</div> <div>leira:/usr/local/zopeinst/bin# sudo ./runzope</div> <div>Logging in to ZMI
directly to port 8080 I add a new Page Template. </div> <div>If the page template contains only </div> <div> </div> <div> hei på deg</div> <div> </div> <div>it saves OK and runs OK.</div> <div> </div> <div>If it contains either of the tal-lines below I get the following error message:</div> <div> </div> <div> <div tal:content="python:unicode('hei på deg','utf8')" /></div> <div> </div> <div>Compilation failed<BR>exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\xe5' in position 33: ordinal not in range(128)</div> <div> </div> <div> <div tal:content="python:u'hei på deg'" /></div> <div> </div> <div>Compilation failed<BR>exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\xe5' in position 26: ordinal not in range(128)</div> <div> </div> <div> <div tal:content="python:'hei på deg'" /></div> <div> </div>
<div>Compilation failed<BR>exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\xe5' in position 25: ordinal not in range(128)</div> <div> </div> <div>In this test I have used IE6 (and it is not passing HTTP_ACCEPT_CHARSET in the request).</div> <div> </div> <div>By the way: The character 'å' has value 0xe5 in iso-8859-1.</div> <div> </div> <div>Should the above tal-statements have worked? I have done no other configuration on the zope-instances than stated here but are consistant with my problems on another installation at work.<BR></div> <div>Regards Jost</div><p> 
<hr size=1>We won't tell. Get more on <a href="http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265
">shows you hate to love</a><br>(and love to hate): <a href="http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265
">Yahoo! TV's Guilty Pleasures list.</a>