[CMF-checkins] CVS: Products/CMFDefault/skins/zpt_generic - RSS.py:1.1.2.2

Yvo Schubbe y.2004_ at wcm-solutions.de
Sun Oct 17 16:13:46 EDT 2004


Update of /cvs-repository/Products/CMFDefault/skins/zpt_generic
In directory cvs.zope.org:/tmp/cvs-serv6700/CMFDefault/skins/zpt_generic

Modified Files:
      Tag: CMF-1_5-branch
	RSS.py 
Log Message:
- fixed encoding (http://collector.zope.org/CMF/261, part 3)


=== Products/CMFDefault/skins/zpt_generic/RSS.py 1.1.2.1 => 1.1.2.2 ===
--- Products/CMFDefault/skins/zpt_generic/RSS.py:1.1.2.1	Wed Sep  1 11:25:11 2004
+++ Products/CMFDefault/skins/zpt_generic/RSS.py	Sun Oct 17 16:13:45 2004
@@ -3,7 +3,9 @@
 from ZTUtils import Batch
 from ZTUtils import LazyFilter
 from Products.CMFCore.utils import getToolByName
+from Products.CMFDefault.utils import toUnicode
 
+ptool = getToolByName(script, 'portal_properties')
 stool = getToolByName(script, 'portal_syndication')
 
 
@@ -40,4 +42,5 @@
                     'url': item.absolute_url() } )
 options['listItemInfos'] = tuple(items)
 
+options = toUnicode( options, ptool.getProperty('default_charset', None) )
 return context.RSS_template(**options)



More information about the CMF-checkins mailing list