Silva 1.o / Unicode problem

Bas Leeflang <[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Organization Bijvoet Center
Message-ID <[email protected]>
Dear Silva developers,

Currently I am running Silva 1.0 on top of Zope 2.7.2 and python 2.3.4. 
I know the Zope/python versions are not the same as most Silva 
developpers use....
However, I would like to note that I encountered a unicode problem.

I want to include the copyright (c) on a page. I can place it perfectly 
with the ZMI in the override.html object. However, when I want ot 
display the page I get the following error message:

Exception Type 	UnicodeDecodeError
Exception Value 	'ascii' codec can't decode byte 0xa9 in position 22: 
ordinal not in range(128)

Traceback (innermost last):

    * Module ZPublisher.Publish, line 101, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 39, in call_object
    * Module Shared.DC.Scripts.Bindings, line 306, in __call__
    * Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
    * Module Products.PythonScripts.PythonScript, line 323, in _exec
    * Module None, line 26, in index_html
      *<PythonScript at /silva/index_html used for
      /silva/sites/bijvoetcenter>*
      *Line 26*
    * Module Shared.DC.Scripts.Bindings, line 306, in __call__
    * Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
    * Module Products.PageTemplates.ZopePageTemplate, line 222, in _exec
    * Module Products.PageTemplates.PageTemplate, line 97, in pt_render
      *<ZopePageTemplate at /silva/sites/bijvoetcenter/override.html>*
    * Module StringIO, line 203, in getvalue

UnicodeDecodeError: 'ascii' codec can't decode byte 0xa9 in position 22: 
ordinal not in range(128)

Cheers,

Bas Leeflang

-- 
Dr. Bas R. Leeflang
Bijvoet Center for Biomolecular Research Tel : +31.30.253.3498
Utrecht University                       Fax : +31.30.254.0980
Padualaan 8, NL-3584 CH  Utrecht         Email: [email protected]
The Netherlands                          http://www.bijvoet-center.nl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.