Use cuni rather than unicode
svn: r22988
This commit is contained in:
parent
6f7cdb8fd2
commit
653cb3882b
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user