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

This commit is contained in:
Calum Lind 2011-02-08 17:01:37 +00:00
parent 1731fd641b
commit 3794773e95
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,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):
"""