diff options
author | Walter Bender <walter@sugarlabs.org> | 2013-10-27 02:35:51 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2013-10-27 02:35:51 (GMT) |
commit | d74569b8c23bf48f1c59eea70b0c0281ca6acd5b (patch) | |
tree | 816ee54e39ed538229e3a8b84a7c2b7b627674d0 /turtleblocks.py | |
parent | cde0a8db3f82cc52004c93a85411cfb23efb0066 (diff) |
use utf8
Diffstat (limited to 'turtleblocks.py')
-rwxr-xr-x | turtleblocks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/turtleblocks.py b/turtleblocks.py index b806c55..c28209e 100755 --- a/turtleblocks.py +++ b/turtleblocks.py @@ -581,7 +581,7 @@ Would you like to save before quitting?')) (filename, self.tw.load_save_folder) = get_save_name( save_type, self.tw.load_save_folder, default_name) if isinstance(filename, unicode): - filename = filename.encode('ascii', 'replace') + filename = filename.encode('utf8') if filename is not None: f = file(filename, 'w') f.write(pythoncode) |