From 306a2495e08bd05f3ab9652e0a2c41e421b99bc8 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Sun, 14 Aug 2016 12:56:28 +0200 Subject: [PATCH] Recipient label UTF-8 fix If recipient label had UTF-8 characters, clicking Send would trigger a decoding error and woudln't send. --- src/bitmessageqt/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index f3c715df..db56d0c7 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -1930,7 +1930,7 @@ class MyForm(settingsmixin.SMainWindow): fromAddress = str(self.ui.comboBoxSendFrom.itemData( self.ui.comboBoxSendFrom.currentIndex(), Qt.UserRole).toString()) - toAddresses = str(self.ui.lineEditTo.text()) + toAddresses = str(self.ui.lineEditTo.text().toUtf8()) subject = str(self.ui.lineEditSubject.text().toUtf8()) message = str( self.ui.textEditMessage.document().toPlainText().toUtf8())