Fixed proble with wrong encoding after viewing message as html

This commit is contained in:
N0U 2014-04-06 19:38:14 -07:00
parent f8d6b17354
commit 9917bf2030

View File

@ -2629,7 +2629,7 @@ class MyForm(QtGui.QMainWindow):
for i in xrange(len(lines)): for i in xrange(len(lines)):
content += lines[i] content += lines[i]
content = content.replace('\n\n', '<br><br>') content = content.replace('\n\n', '<br><br>')
self.ui.textEditInboxMessage.setHtml(QtCore.QString(content)) self.ui.textEditInboxMessage.setHtml(QtCore.QString.fromUtf8(content))
def on_action_InboxMarkUnread(self): def on_action_InboxMarkUnread(self):
font = QFont() font = QFont()