forked from openlp/openlp
Song editing utf8 fixes part 2
This commit is contained in:
parent
3929792bea
commit
03607395eb
@ -462,9 +462,7 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
|
||||
text = text.replace(u'}', u'')
|
||||
text = text.replace(u'?', u'')
|
||||
self.song.search_lyrics = unicode(text)
|
||||
print type(sxml.extract_xml())
|
||||
print type(unicode(sxml.extract_xml()))
|
||||
self.song.lyrics = unicode(sxml.extract_xml())
|
||||
self.song.lyrics = unicode(sxml.extract_xml(), u'utf-8')
|
||||
except:
|
||||
log.exception(u'Problem processing song Lyrics \n%s',
|
||||
sxml.dump_xml())
|
||||
|
Loading…
Reference in New Issue
Block a user