From ea9c83ccba376a2c3a24020a8532fbe6ffeeaed3 Mon Sep 17 00:00:00 2001 From: zmsdev Date: Sat, 14 Nov 2020 14:07:27 +0000 Subject: [PATCH] minor fixes for Zope2: ajax-sitemap svn path=/ZMS/branches/zms4/; revision=5941 --- Products/zms/zmsobject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Products/zms/zmsobject.py b/Products/zms/zmsobject.py index 2ee2d7431..ccb422cd6 100644 --- a/Products/zms/zmsobject.py +++ b/Products/zms/zmsobject.py @@ -1181,7 +1181,7 @@ def ajaxGetNode(self, context=None, lang=None, xml_header=True, meta_types=None, obj_attr['datatype_key'] in _globals.DT_DATETIMES: v = self.attr(key) if v: - xml += "<%s>%s"%(key, standard.toXmlString(self,v).encode('utf-8'), key) + xml += "<%s>%s"%(key, standard.pystr(standard.toXmlString(self,v),'utf-8'), key) elif obj_attr['datatype_key'] in _globals.DT_BLOBS: v = self.attr(key) if v: