--- a/web/views/schema.py Fri Jun 18 18:31:22 2010 +0200
+++ b/web/views/schema.py Mon Jun 21 13:23:11 2010 +0200
@@ -575,7 +575,7 @@
entity = self.cw_rset.get_entity(row, col)
rschema = self._cw.vreg.schema.rschema(entity.rtype.name)
rdef = rschema.rdefs[(entity.stype.name, entity.otype.name)]
- constraints = [xml_escape(str(c)) for c in getattr(rdef, 'constraints')]
+ constraints = [xml_escape(unicode(c)) for c in getattr(rdef, 'constraints')]
self.w(u'<br/>'.join(constraints))
class CWAttributeOptionsCell(EntityView):