diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py index 9a345ae8f03..2b3f1db5575 100644 --- a/Lib/xmlrpclib.py +++ b/Lib/xmlrpclib.py @@ -485,8 +485,6 @@ else: parser.EndElementHandler = target.end parser.CharacterDataHandler = target.data encoding = None - if not parser.returns_unicode: - encoding = "utf-8" target.xml(encoding, None) def feed(self, data):