[Zope-dev] Another weird unicode error from Zope 2

Charlie Clark charlie.clark at clark-consulting.eu
Wed Oct 13 07:11:08 EDT 2010


Am 13.10.2010, 12:57 Uhr, schrieb Chris Withers <chris at simplistix.co.uk>:

> I don't have one set.
> So, is iso-8859-15 the default in Zope 2.12? If so, why on earth that
> rather than utf-8?

See Zope2/Statup/zopeschema.xml

   <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>

As to why it is iso-8859-anything as opposed to utf-8 is presumably  
because it has historically been the case. I don't know what would break  
if this would change.

Charlie
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226


More information about the Zope-Dev mailing list