XML_RPC and unicode problems

"Martin v. Löwis" martin at v.loewis.de
Fri Sep 17 02:38:17 EDT 2004


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.

Regards,
Martin



More information about the Python-list mailing list