[kupu-checkins] r46306 - kupu/trunk/kupu/plone
fschulze at codespeak.net
fschulze at codespeak.net
Tue Sep 4 16:24:20 CEST 2007
Author: fschulze
Date: Tue Sep 4 16:24:20 2007
New Revision: 46306
Modified:
kupu/trunk/kupu/plone/html2captioned.py
Log:
Fixed more encoding errors. The link checker now works with non ascii translations.
Modified: kupu/trunk/kupu/plone/html2captioned.py
==============================================================================
--- kupu/trunk/kupu/plone/html2captioned.py (original)
+++ kupu/trunk/kupu/plone/html2captioned.py Tue Sep 4 16:24:20 2007
@@ -223,9 +223,9 @@
if fields:
f = fields[0]
self.portal_type = f.portal_type
- self.typename = f.type
- self.fieldname = f.name
- self.fieldlabel = f.label
+ self.typename = f.type.decode('utf-8')
+ self.fieldname = f.name.decode('utf-8')
+ self.fieldlabel = f.label.decode('utf-8')
else:
self.portal_type = rfg('portal_type', None)
self.fieldname = None
More information about the kupu-checkins
mailing list