[Zope-Checkins] SVN: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ZopePageTemplate.py removed setting the charset

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


Log message for revision 71592:
  removed setting the charset
  

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

-=-
Modified: Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ZopePageTemplate.py
===================================================================
--- Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ZopePageTemplate.py	2006-12-18 10:42:42 UTC (rev 71591)
+++ Zope/branches/ajung-zpt-encoding-fixes/lib/python/Products/PageTemplates/ZopePageTemplate.py	2006-12-18 10:58:32 UTC (rev 71592)
@@ -290,7 +290,6 @@
         try:
             response = self.REQUEST.RESPONSE
             if not response.headers.has_key('content-type'):
-#                response.setHeader('content-type', '%s; charset=%s' % (self.content_type, self.output_encoding))
                 response.setHeader('content-type', self.content_type)
         except AttributeError:
             pass



More information about the Zope-Checkins mailing list