Fix to convert note text str to unicode (cuni)

svn: r23388
This commit is contained in:
Doug Blank 2013-10-25 01:26:45 +00:00
parent da1eadacd6
commit 1814c41c9a

View File

@ -457,7 +457,7 @@ class GrampsXmlWriter(UpdateCallback):
format = note.get_format() format = note.get_format()
text = note.get_styledtext() text = note.get_styledtext()
styles = text.get_tags() styles = text.get_tags()
text = str(text) text = cuni(text)
self.g.write(' type="%s"' % ntype) self.g.write(' type="%s"' % ntype)
if format != note.FLOWED: if format != note.FLOWED: