[ZCM] [ZC] 2014/ 3 Resolve "Not possible to set
'default_zpublisher_encoding' in zope2.9"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Thu Jan 26 13:52:37 EST 2006
Issue #2014 Update (Resolve) "Not possible to set 'default_zpublisher_encoding' in zope2.9"
Status Resolved, Zope/bug medium
To followup, visit:
http://www.zope.org/Collectors/Zope/2014
==============================================================
= Resolve - Entry #3 by ajung on Jan 26, 2006 1:52 pm
Status: Pending => Resolved
This typo is already fixed.
________________________________________
= Comment - Entry #2 by peterbe on Jan 26, 2006 1:46 pm
I dug up the file:
Zope2/Startup/zopeschema.xml
and found this::
<key name="default-zpublisher-encoding" datatype=".default_zpublisher_encoding">
<description>
This key controls what character set is used to encode unicode
data that reaches ZPublisher without any other specified encoding.
</description>
<metadefault>iso-8859-15</metadefault>
</key>
Does that help?
________________________________________
= Request - Entry #1 by peterbe on Jan 26, 2006 1:34 pm
Hopefully the stuff below is obvious. It simply means that you can't set the 'default_zpublisher_encoding' key in zope.conf.
I tried to set it to::
default_zpublisher_encoding iso-8859-1
$ ./bin/runzope
/usr/lib/zope-2.9.0/lib/python/App/ImageFile.py:21: DeprecationWarning: Using OFS.content_types is deprecated (will be removed in Zope 2.11). Instead use zope.app.contenttypes.
from OFS.content_types import guess_content_type
Error: 'default_zpublisher_encoding' is not a known key name
(line 880 in file:///var/lib/zope-2.9.0/smoking-ealing/etc/zope.conf)
For help, use /usr/lib/zope-2.9.0/lib/python/Zope2/Startup/run.py -h
==============================================================
More information about the Zope-Collector-Monitor
mailing list