encode string before write to specified encoding
This commit is contained in:
parent
1cce30393b
commit
fab1e8412d
@ -339,4 +339,4 @@ Please use commands from the command line, eg:\n
|
|||||||
if self.interactive:
|
if self.interactive:
|
||||||
self.events.append(s)
|
self.events.append(s)
|
||||||
else:
|
else:
|
||||||
print colors.strip_colors(s)
|
print colors.strip_colors(s.encode(self.encoding))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user