[Zope-dev] ZPublisher, ZPT and XHTML

Andreas Jung lists at andreas-jung.com
Mon Dec 19 08:24:05 EST 2005


Another usecase where Zope does not play nicely:

You can create a ZPT with XHTML content where the content is
encoded as UTF-8 (which the corresponding encoding declaration within the
XML preamble). When you redefine the zpublisher_default_encoding Zope might
convert the UTF8 body of the ZPT to some other encoding. This leads to two
possible problems: a) the new encoding is not available from the 
content-type header and b) the encoding inside the XML preamble still 
contains the original encoding...both is wrong...any ideas how to deal with 
that problem
(perhaps the problem is only a constructed problem?)

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20051219/a1538647/attachment.bin


More information about the Zope-Dev mailing list