diff --git a/qweechat/input.py b/qweechat/input.py index 7c85caf..192e5d4 100644 --- a/qweechat/input.py +++ b/qweechat/input.py @@ -76,7 +76,7 @@ class InputLineEdit(QtGui.QLineEdit): QtGui.QLineEdit.keyPressEvent(self, event) def _input_return_pressed(self): - self._history.append(self.text().encode('utf-8')) + self._history.append(self.text()) self._history_index = len(self._history) self.textSent.emit(self.text()) self.clear()