Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'nbxmpp/c14n.py')
-rw-r--r--nbxmpp/c14n.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/c14n.py b/nbxmpp/c14n.py
index 764ecd8..d8af8d3 100644
--- a/nbxmpp/c14n.py
+++ b/nbxmpp/c14n.py
@@ -50,7 +50,7 @@ def c14n(node, is_buggy):
s=s[:-1]+' />'
else:
s = s + "</" + node.name + ">"
- return s.encode('utf-8')
+ return s
def normalise_attr(val):
return val.replace('&', '&amp;').replace('<', '&lt;').replace('"', '&quot;').replace('\t', '&#x9;').replace('\n', '&#xA;').replace('\r', '&#xD;')