From cfb5550c29d5ae1bebc63f75d3cb8ae6cceaf7b9 Mon Sep 17 00:00:00 2001 From: Branislav Blaskovic Date: Feb 16 2014 13:30:54 +0000 Subject: Encode comments to utf-8. Fixes issue #28 --- diff --git a/src/fedora-gooey-karma b/src/fedora-gooey-karma index 3c86d6a..496df75 100755 --- a/src/fedora-gooey-karma +++ b/src/fedora-gooey-karma @@ -287,7 +287,7 @@ class MainWindow(QtGui.QMainWindow): # Add comment as child to update line = QtGui.QTreeWidgetItem() - line.setText(0, str(comment['text'])) + line.setText(0, comment['text'].encode('utf-8')) update_item.insertChild(0, line) # If it is in favorited packages, update list