Fix #1248 - Deluge-console unicode support on redirected stdout
This commit is contained in:
parent
1731fd641b
commit
3794773e95
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue