diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/turtle_blocks_extras/turtle_blocks_extras.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/turtle_blocks_extras/turtle_blocks_extras.py b/plugins/turtle_blocks_extras/turtle_blocks_extras.py index 2ae320a..b1b003f 100644 --- a/plugins/turtle_blocks_extras/turtle_blocks_extras.py +++ b/plugins/turtle_blocks_extras/turtle_blocks_extras.py @@ -1552,7 +1552,7 @@ Journal objects')) self.tw.show_toolbar_palette(int(arg)) else: if type(arg) == unicode: - arg = arg.encode('ascii', 'replace') + arg = arg.encode('utf-8') if arg in palette_names: self.tw.show_toolbar_palette(palette_name_to_index(arg)) else: |