We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88f3471 commit d0779a2Copy full SHA for d0779a2
xmltodict.py
@@ -73,10 +73,9 @@ def CharacterData(self, data):
73
"""SAX character data event handler"""
74
if data.strip():
75
data = data.replace("<", "<")
76
- data = data.encode()
77
if self._inCode:
78
if self._mthdCode:
79
- self._mthdCode += "%s%s" % (code_linesep, data)
+ self._mthdCode += u"%s%s" % (code_linesep, data)
80
else:
81
self._mthdCode = data
82
0 commit comments