Vittorio Manfredini wrote at 2007-7-20 12:06 +0200:
I have to upgrade to a new server and I export my zope in the xml file using the export option.
On the old system I use zope 2.7 and python 2.4.3, on the new system I use opensuse 10.2 with python 2.4.4 (recompiled by me) and zope 2.10.
When I try to import the file I receive the following error :
Site Error
An error was encountered while publishing this resource.
Error Type: UnicodeDecodeError Error Value: 'ascii' codec can't decode byte 0xa1 in position 34: ordinal not in range(128)
This looks like a well known problem with xml exports (and XML in general -- it is not easy to generate a valid XML document with character content of unknown encoding). Try to use a binary export (no XML) -- or even better, copy the storage file. -- Dieter