Re: problem: non-ascii data and xmlrpmlib.py

Helge Hess <[email protected]>
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
Dr. Martin Korff wrote:
> My problem seems to be in the 'xmlrpclib.py' library:

I don't think so.

> See my script 'test.py' below. Effectively it reads a specific entry
> in the Person-Database and reinserts the very same data again.
... problems with umlauts ...
> the repr. of which cannot be interpreted as Ascii-chars. 

Yup.

> Funny, but I believe that the very same situation should arise in the 
> German language context on letters like ä, ö, and ü (umlaute).

It does, I remember the issue. I think the solution is to set the 
"encoding" from "ascii" to "utf-8" in /usr/lib/pythonXXX/site.py.

BTW: I wonder whether the xmlrpc lib coming with Python 2.3 is finally 
able to authenticate using HTTP?

regards,
   Helge

-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.