[Zope-Checkins] SVN: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/www/ptEdit.zpt set content-type=..; charset header based on the output_encoding

Andreas Jung andreas at andreas-jung.com
Mon Dec 18 05:33:19 EST 2006


Log message for revision 71588:
  set content-type=..;charset header based on the output_encoding
  

Changed:
  U   Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/www/ptEdit.zpt

-=-
Modified: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/www/ptEdit.zpt
===================================================================
--- Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/www/ptEdit.zpt	2006-12-18 09:52:26 UTC (rev 71587)
+++ Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/www/ptEdit.zpt	2006-12-18 10:33:18 UTC (rev 71588)
@@ -1,4 +1,4 @@
-<h1 tal:replace="structure python:context.manage_page_header(management_page_charset='utf-8')">Header</h1>
+<h1 tal:replace="structure python:context.manage_page_header(management_page_charset=context.output_encoding)">Header</h1>
 <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
     tal:replace="structure context/manage_tabs">Tabs</h2>
 



More information about the Zope-Checkins mailing list