Mercurial > libervia-backend
diff src/tools/xml_tools.py @ 304:e04ccf122bb6
microblog sending
- Bridge: added sendPersonalEvent to DBus frontend
- plugin XEP_0277: * fixed unicode issue
* node options are now changed instead of node being deleted/recreated for setMicroblogAccess
- xml_tools: fixed unicode issue
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 26 Mar 2011 17:51:19 +0100 |
parents | 0e54b1b0a8c8 |
children | cf005701624b |
line wrap: on
line diff
--- a/src/tools/xml_tools.py Thu Mar 24 21:15:26 2011 +0100 +++ b/src/tools/xml_tools.py Sat Mar 26 17:51:19 2011 +0100 @@ -324,5 +324,5 @@ parser.DocumentEndEvent = onEnd tmp = domish.Element(("", "s")) tmp.addRawXml(s.replace('\n','').replace('\t','')) - parser.parse(tmp.toXml()) + parser.parse(tmp.toXml().encode('utf-8')) return self.result.firstChildElement()