Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2003-12-15 00:13:28 +0300
committerYann Leboulanger <asterix@lagaule.org>2003-12-15 00:13:28 +0300
commitd9f5bd08e821529a9b5ff7eda7091d9482190bea (patch)
tree4940706250c862103e231cfa1c22f64af5b33c2a /common
parentd07afbaf5057945c4f7bc5fdc6115b4a7724ccc4 (diff)
now accents can be sent
Diffstat (limited to 'common')
-rw-r--r--common/jabber.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/jabber.py b/common/jabber.py
index 943f925f1..d5681ff78 100644
--- a/common/jabber.py
+++ b/common/jabber.py
@@ -62,7 +62,7 @@ An example of usage for a simple client would be ( only psuedo code !)
"""
-# $Id: jabber.py,v 1.1.1.1 2003/10/22 18:45:18 tab Exp $
+# $Id: jabber.py,v 1.2 2003/11/01 19:41:35 asterix86 Exp $
import xmlstream
import sha, time
@@ -177,7 +177,8 @@ def ustr(what, encoding=USTR_ENCODING):
r = what.__str__()
# make sure __str__() didnt return a unicode
if type(r) <> type(u''):
- r = unicode(r,encoding,'replace')
+# r = unicode(r,encoding,'replace')
+ r = unicode(r)
return r