Mon, 26 Mar 2012 19:38:22 +0200
Fixed an issue in the terminal windows when non-latin1 characters are entered.
QScintilla/Terminal.py | file | annotate | diff | comparison | revisions |
--- a/QScintilla/Terminal.py Sun Mar 25 17:53:22 2012 +0200 +++ b/QScintilla/Terminal.py Mon Mar 26 19:38:22 2012 +0200 @@ -215,7 +215,7 @@ @param data data to be sent to the shell process (string) """ pdata = QByteArray() - pdata.append(data) + pdata.append(bytes(data, encoding="utf-8")) self.__process.write(pdata) def __sendCtrl(self, cmd):