Skip to content
Snippets Groups Projects
Commit d9f5bd08 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

now accents can be sent

parent d07afbaf
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -532,7 +532,6 @@
<widget class="GtkVPaned" id="vpaned1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="position">190</property>
<child>
<widget class="GtkScrolledWindow" id="scrolledwindow3">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment