Message258397
xmlrpc uses XML. This format includes information about the encoding and doesn't need external specification.
The server in the example is not correct. It generates XML with default XML declaration that implies the UTF-8 encoding, but the body is encoded with non-UTF-8 encoding. If add the argument encoding='UTF-8' the example works.
But this feature is not covered by tests. Proposed patch adds tests for non-default client and server encodings. No changes for the xmlrpc module itself is needed. |
|
Date |
User |
Action |
Args |
2016-01-16 17:51:07 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, eric.araujo, Timothée.CEZARD |
2016-01-16 17:51:07 | serhiy.storchaka | set | messageid: <1452966667.81.0.179850764888.issue9006@psf.upfronthosting.co.za> |
2016-01-16 17:51:07 | serhiy.storchaka | link | issue9006 messages |
2016-01-16 17:51:07 | serhiy.storchaka | create | |
|