now accents can be sent
This commit is contained in:
		
							parent
							
								
									d07afbaf50
								
							
						
					
					
						commit
						d9f5bd08e8
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -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">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue