On Wed, 6 Feb 2002 17:28:08 +0100 Jacek Konieczny <[EMAIL PROTECTED]> 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 http://www.python.org/cgi-bin/faqw.py?req=show&file=faq04.102.htp 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... regards, Igor _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
