]> granicus.if.org Git - python/commitdiff
Expat parser no longer has a returns_unicode attribute since everything is
authorBrett Cannon <bcannon@gmail.com>
Sun, 29 Jul 2007 02:56:27 +0000 (02:56 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sun, 29 Jul 2007 02:56:27 +0000 (02:56 +0000)
Unicode now.

Lib/xmlrpclib.py

index 9a345ae8f0379077e2b371ca23843b4a34e1497e..2b3f1db5575618e0fb79d37c1ad9390e6d3868b0 100644 (file)
@@ -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):