X-Git-Url: https://harishankar.org/repos/?p=biacv.git;a=blobdiff_plain;f=biacv_mainwindow.py;fp=biacv_mainwindow.py;h=f9e79b3d963d0e80828e780396f93bb1633188df;hp=72c6bc344455fdbbb8dadd9168cd77b381e40b82;hb=bd8e29c5a7117a263cf20888b5a637deb90f715e;hpb=db696bd1b54b7daf56d6d3d3049e8a35394536aa diff --git a/biacv_mainwindow.py b/biacv_mainwindow.py index 72c6bc3..f9e79b3 100644 --- a/biacv_mainwindow.py +++ b/biacv_mainwindow.py @@ -187,7 +187,7 @@ class Biacv_mainwindow (PyQt4.QtGui.QMainWindow, bui.Ui_biacv_mainwindow): ) # set the profile highlights - profile_highlights = unicode (self.profile.toPlainText ().toUtf8 ()).splitlines () + profile_highlights = unicode (self.profile.toPlainText ().toUtf8 (), "utf-8").splitlines () docdata.set_profile (profile_highlights) # get the list of educational qualifications from the treewidget