4cc6b1ec8342 — cedricbonhomme 11 years ago
Added support of UTF-8.
1 files changed, 1 insertions(+), 1 deletions(-)

M source/simpleGui.py
M source/simpleGui.py +1 -1
@@ 442,7 442,7 @@ class SimpleGui(object):
         """
         Send the message to the list of receivers (interlocutors).
         """
-        message = str(self.message_to_send.get(0.0, END))
+        message = str(self.message_to_send.get(0.0, END).encode('utf-8'))
         self.message_to_send.delete(1.0, END)
 
         if len(message) <= 1: