From 423fe90162a1c097b02bb8add604cdb9d95a04d0 Mon Sep 17 00:00:00 2001 From: yvesf Date: Wed, 27 May 2009 22:10:56 +0000 Subject: blah! git-svn-id: http://xapek.org/svn/common/omegle@1021 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd --- omegle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'omegle.py') diff --git a/omegle.py b/omegle.py index 2f70e21..85d87c3 100644 --- a/omegle.py +++ b/omegle.py @@ -83,7 +83,7 @@ class OmegleChat(object): conn.close() def send(self,msg): - msg = unicode(msg) + msg = unicode(msg).encode("utf8") self.conn_lock.acquire() self.conn.request("POST", "/send", -- cgit v1.2.1