diff -r 351e84e18a61 -r 74d9a062965c web/views/schema.py --- a/web/views/schema.py Fri Jun 18 18:49:17 2010 +0200 +++ b/web/views/schema.py Sat Jun 19 16:08:08 2010 +0200 @@ -578,7 +578,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'
'.join(constraints)) class CWAttributeOptionsCell(EntityView):