Module: deluge
Branch: master
Commit: ad2b13eb2c9765f0b18872020cbcefdf1e46ed7a

Author: Calum Lind <[email protected]>
Date:   Tue Feb  8 17:01:37 2011 +0000

Fix #1248 - Deluge-console unicode support on redirected stdout

---

 deluge/ui/console/main.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/deluge/ui/console/main.py b/deluge/ui/console/main.py
index c2c386a..6442e61 100644
--- a/deluge/ui/console/main.py
+++ b/deluge/ui/console/main.py
@@ -278,7 +278,7 @@ Please use commands from the command line, eg:\n
         if self.interactive:
             self.screen.add_line(line, not self.batch_write)
         else:
-            print(colors.strip_colors(line))
+            print(colors.strip_colors(line.encode("utf-8")))
 
     def do_command(self, cmd):
         """

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to