diff --git a/src/bitmessageqt/messageview.py b/src/bitmessageqt/messageview.py
index 36fe8320..40830a70 100644
--- a/src/bitmessageqt/messageview.py
+++ b/src/bitmessageqt/messageview.py
@@ -108,7 +108,7 @@ class MessageView(QtGui.QTextBrowser):
self.mode = MessageView.MODE_PLAIN
out = self.html.raw
if self.html.has_html:
- out = "
" + str(QtGui.QApplication.translate("MessageView", "HTML detected, click here to display")) + "
" + out
+ out = "" + unicode(QtGui.QApplication.translate("MessageView", "HTML detected, click here to display")) + "
" + out
self.out = out
self.outpos = 0
self.setHtml("")
@@ -117,7 +117,7 @@ class MessageView(QtGui.QTextBrowser):
def showHTML(self):
self.mode = MessageView.MODE_HTML
out = self.html.sanitised
- out = "" + str(QtGui.QApplication.translate("MessageView", "Click here to disable HTML")) + "
" + out
+ out = "" + unicode(QtGui.QApplication.translate("MessageView", "Click here to disable HTML")) + "
" + out
self.out = out
self.outpos = 0
self.setHtml("")