Re: Another weird unicode error from Zope 2

"Charlie Clark" <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Organization Clark Consulting & Research
Message-ID <[email protected]>
Am 13.10.2010, 12:57 Uhr, schrieb Chris Withers <[email protected]>:

> 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
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
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.