[JDEV] jabber.py problems

Igor Stroh stroh at scan-plus.de
Wed Feb 6 11:14:17 CST 2002

On Wed, 6 Feb 2002 17:28:08 +0100
Jacek Konieczny <jajcus at bnet.pl> wrote:

> On Wed, Feb 06, 2002 at 03:28:35PM +0100, Igor Stroh wrote:
> > > so why shouldn't be the variable ENCODING in xmlstream in "utf-8"
> > > instead of site.encoding?...
> > 
> > it doesn't work this way, don't ask my why :) to switch to utf-8, edit
> > your site.py and change the line that says "encoding = 'ascii'" to
> > "encoding = 'UTF-8'"
> It is not a good thing (one Python hacker told me this, with some
> arguments, that convinced me).
> jabber.py should be fixed, so it uses proper encoding. 

there's no way to do it other than to follow the instructions at

if you have doubts about changing your encoding from ascii to utf-8 you
can still tell python to use the appropriate encoding from your locale
settings as suggested on the page above...

again, this is a known issue, if you think there's a better way to handle
this problem, please send a patch or a solution proposal to jabber.py
mailing list or just post in here, i'll forward the message to the list...


More information about the JDev mailing list