[issue9006] xml-rpc Server object does not propagate the encoding to Unmarshaller
Timothée CEZARD
report at bugs.python.org
Wed Jun 16 16:44:57 CEST 2010
Timothée CEZARD <tim.cezard at gmail.com> added the comment:
With 2.7 I'm getting another exception
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 5, column 15
where with 2.6 I was getting
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa3 in position 0: unexpected code byte
I didn't try with 3.2 yet.
I also "fixed" the bug in 2.6 by passing the encoding stored in ServerProxy to Transport and then Unmarshaller.
I probably did not do it the proper way but it works now
----------
Added file: http://bugs.python.org/file17683/xmlrpclib_fixed.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9006>
_______________________________________
More information about the Python-bugs-list
mailing list