This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients Alex Corcoles, Steven.Hartland, effbot, fredrikhl, iritkatriel, loewis, pitrou, serhiy.storchaka, vstinner
Date 2021-12-03.12:22:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
2.7 is no longer relevant, and it looks like these examples are working now:

>>> xmlrpc.client.dumps(('\u20ac',), encoding='iso-8859-1')
>>> xmlrpc.client.dumps((u'\u20ac',), encoding='iso-8859-1')

There is possibly still a documentation enhancement to make regarding non-ascii strings. This is what I get now with Serhiy's examples:

>>> xmlrpc.client.loads(xmlrpc.client.dumps(('\xe2\x82\xac',)))
(('â\x82¬',), None)
>>> xmlrpc.client.loads(xmlrpc.client.dumps(('\r',)))
(('\n',), None)
>>> xmlrpc.client.loads(xmlrpc.client.dumps(('\r\n',)))
(('\n',), None)
Date User Action Args
2021-12-03 12:22:16iritkatrielsetrecipients: + iritkatriel, loewis, effbot, pitrou, vstinner, Steven.Hartland, serhiy.storchaka, Alex Corcoles, fredrikhl
2021-12-03 12:22:16iritkatrielsetmessageid: <>
2021-12-03 12:22:16iritkatriellinkissue7727 messages
2021-12-03 12:22:16iritkatrielcreate