[JDEV] jabber.py problems

Zoe Drey Zoe.Drey at logilab.fr
Tue Feb 5 08:00:34 CST 2002


On Tue, 5 Feb 2002, Zoe Drey wrote:

> Do you have any idea of where this problem of encoding could come from?
> I don't think it's a Gabber problem, but i didn't find yet the origin of 
> the problem. 

Ok, i found a little part of the origin:

the encoding that is chosen by default to encode the data,
is site.encoding: when it gives "ascii",data.encode("ascii") replaces the
"unwanted" characters in data, as those with accent...

so why shouldn't be the variable ENCODING in xmlstream in "utf-8"
instead of site.encoding?...
 

-- 
Zoé Drey




More information about the JDev mailing list