From: Harishankar Date: Thu, 8 Dec 2011 09:12:02 +0000 (+0530) Subject: Fixed unicode issue X-Git-Url: https://harishankar.org/repos/?a=commitdiff_plain;h=bd8e29c5a7117a263cf20888b5a637deb90f715e;p=biacv.git Fixed unicode issue Fixed minor unicode issue in calling unicode () built-in data type --- 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