diff libpurple/purple-remote @ 31729:7c5a78a2cc0d

propagate from branch 'im.pidgin.pidgin' (head 830fe5304ea6ff4524d2f7d622341684d5a0e727) to branch 'im.pidgin.pidgin.mxit' (head 4b5b67d9a678762f83e47e5b84df1959638abaab)
author andrew.victor@mxit.com
date Mon, 01 Nov 2010 08:14:54 +0000
parents 2c7d3c224f39
children d63748b78769
line wrap: on
line diff
--- a/libpurple/purple-remote	Mon Sep 13 09:57:03 2010 +0000
+++ b/libpurple/purple-remote	Mon Nov 01 08:14:54 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