XML_RPC and unicode problems

phansen peter at engcorp.com
Fri Sep 17 08:00:42 EDT 2004


Martin v. Löwis wrote:
> phansen wrote:
> 
>> Seems to me that description is inadequate, if one has to revert
>> to <base64> to pass through a string with an \xa0 in it.
> 
> No. \xa0 just is not a character. In XML, all bytes must denote
> characters, and \xa0 does not denote any character when the
> encoding is UTF-8.
> 
> To transmit binary data, use the base64 element, available through
> xmlrpclib.Binary in Python.

That's what I said, isn't it?  Just checking, because you started
your response with "No", as though I had said something incorrect.

-Peter



More information about the Python-list mailing list