diff libpurple/purple-remote @ 30578:0accc8adb18a

merge of '2f6318bd834113559a405ec68cdb178f2180b680' and '64e02b98551e11e093e4649f1516f3aceaa321e2'
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 26 Sep 2010 20:16:15 +0000
parents 2c7d3c224f39
children d63748b78769
line wrap: on
line diff
--- a/libpurple/purple-remote	Sun Sep 26 15:49:16 2010 +0000
+++ b/libpurple/purple-remote	Sun Sep 26 20:16:15 2010 +0000
@@ -1,5 +1,6 @@
 #!/usr/bin/env python
 
+import codecs
 import dbus
 import re
 import urllib
@@ -7,6 +8,9 @@
 
 import xml.dom.minidom 
 
+sys.stdin = codecs.getwriter('utf-8')(sys.stdin);
+sys.stdout = codecs.getwriter('utf-8')(sys.stdout);
+
 xml.dom.minidom.Element.all   = xml.dom.minidom.Element.getElementsByTagName
 
 obj = None