[Zope] Unicode Error

Andreas Jung andreas@andreas-jung.com
Tue, 15 Oct 2002 08:51:35 +0200


Maybe try to set Pythons default encoding to iso-8859-15 in
sitecustomize.py.

-aj

--On Dienstag, 15. Oktober 2002 08:44 +0200 Jan Ulrich Hasecke 
<janulrich.hasecke@web.de> wrote:

> Hi,
>
> I installed Zope 2.6.0b1 with PyXML and all the AltTAL-Stuff needed
> for a i18n-Plone-Site.
>
> It works kind of, I can see translated menues, navigate around, but I
> cannot create new content.
>
> If I add a new document nothing happens.
>
> Only on the console, where I started zope, I get this error message.
>
> Unhandled exception in thread:
> Traceback (most recent call last):
>   File
> "/home/ploneuser/Zope-2.6.0b1-src/ZServer/PubCore/ZServerPublisher.py",
> line 23, in __init__     response=response)
>   File
> "/home/ploneuser/Zope-2.6.0b1-src/lib/python/ZPublisher/Publish.py", line
> 166, in publish_module     outputBody()
>   File
> "/home/ploneuser/Zope-2.6.0b1-src/lib/python/ZPublisher/BaseResponse.py",
> line 57, in outputBody     self.stdout.write(str(self))
>   File "/home/ploneuser/Zope-2.6.0b1-src/ZServer/HTTPResponse.py", line
> 133, in __str__     return "\r\n".join(headersl)
> UnicodeError: ASCII decoding error: ordinal not in range(128)
>
> Do I have to patch zope 2.6.0 with something?
>
> TIA
> juh
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )




    ---------------------------------------------------------------------
   -    Andreas Jung                     http://www.andreas-jung.com   -
  -   EMail: andreas at andreas-jung.com                              -
   -            "Life is too short to (re)write parsers"               -
    ---------------------------------------------------------------------