Submitted by : simon at: 2009-10-29T16:37:10-07:00 (8 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Another report from saper, like #1450 but in a different place. I have reproduced it with zope 2.11, viewing manage_main on a wiki folder containing pages with non-ascii names:

Traceback (innermost last):
 Module ZPublisher.Publish, line 122, in publish
 Module ZServer.HTTPResponse, line 262, in setBody
 Module ZPublisher.HTTPResponse, line 324, in setBody
 Module ZPublisher.HTTPResponse, line 476, in _encode_unicode
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 16387-16389: ordinal not in range(256)

zope issue, documenting --simon, Thu, 29 Oct 2009 17:01:55 -0700 reply

Status: open => closed

To fix this one, and to enable handling of unicode names and content in the ZMI generally, you need to set a string property in the properties tab of (eg) your root folder:

management_page_charset: UTF-8

Note the capitalisation, this might make a difference in some parts of the ZMI.