pb with xmlrpclib

Skip Montanaro skip at pobox.com
Fri Jul 6 09:54:44 EDT 2001


    Alexandre> If I use the default server, the following call causes an
    Alexandre> error on the server:

    ... print server.echo('\231')

    Alexandre> Is this a bug in xmlrpc or in the underlying xmllib ?

Neither, I think.  The default encoding for XML is utf-8, not latin-1.  In
addition, XMLRPC only supports ASCII.  Try

    server.echo('a')

instead.

-- 
Skip Montanaro (skip at pobox.com)
(847)971-7098




More information about the Python-list mailing list