QScintilla/Terminal.py

branch
5_2_x
changeset 1742
c34ac31c84aa
parent 1589
9f0fef4a4fbe
child 1744
a297b2f21fd3
--- a/QScintilla/Terminal.py	Sun Mar 25 18:55:48 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):

eric ide

mercurial