diff --git a/openlp/plugins/remotes/lib/httpserver.py b/openlp/plugins/remotes/lib/httpserver.py index acbe103a7..3dc5d276d 100644 --- a/openlp/plugins/remotes/lib/httpserver.py +++ b/openlp/plugins/remotes/lib/httpserver.py @@ -315,7 +315,9 @@ class HttpConnection(object): """ log.debug(u'ready to read socket') if self.socket.canReadLine(): - data = unicode(self.socket.readLine()).encode(u'utf-8') + data = self.socket.readLine() + data = QtCore.QByteArray.fromPercentEncoding(data) + data = unicode(data, 'utf8') log.debug(u'received: ' + data) words = data.split(u' ') response = None