From bd8e29c5a7117a263cf20888b5a637deb90f715e Mon Sep 17 00:00:00 2001 From: Harishankar Date: Thu, 8 Dec 2011 14:42:02 +0530 Subject: [PATCH] Fixed unicode issue Fixed minor unicode issue in calling unicode () built-in data type --- biacv_mainwindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1