[Zope] Unicode Error

Andreas Jung Andreas Jung <lists@andreas-jung.com>
Tue, 15 Oct 2002 10:35:06 +0200


I think this file is optional and Python tries to read it
during startup for custom settings. I *think* it is sufficient
to put it somewhere in your PYTHONPATH:

import sys
sys.setdefaultencoding("iso-8859-15")

Andreas

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

> Andreas Jung <andreas@andreas-jung.com> writes:
>
>> Maybe try to set Pythons default encoding to iso-8859-15 in
>> sitecustomize.py.
>
> I cannot find this file in my python (2.1.3)
>
> Ciao!
> juh
>
> --
> Das GenerationenProjekt
> Ein halbes Jahrhundert in HYPERTEXT
> http://www.generationenprojekt.de/
>




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