diff --git a/gramps/gen/simple/_simpletable.py b/gramps/gen/simple/_simpletable.py index d22ad0289..dbe9bb0c4 100644 --- a/gramps/gen/simple/_simpletable.py +++ b/gramps/gen/simple/_simpletable.py @@ -165,7 +165,7 @@ class SimpleTable(object): if (self._link_col == col or link is None): link = ('Date', item) elif isinstance(item, Span): - text = unicode(item) + text = conv_to_unicode_direct(item) retval.append(text) self.row_sort_val(col, item) elif isinstance(item, list): # [text, "PersonList", handle, ...] @@ -238,7 +238,7 @@ class SimpleTable(object): else: doc.start_link("/%s/%s" % (obj_type.lower(), handle)) - doc.write_text(unicode(col), 'Normal') + doc.write_text(conv_to_unicode_direct(col), 'Normal') if obj_type and handle: doc.stop_link() doc.end_cell()