Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/turtleblocks.py
diff options
context:
space:
mode:
Diffstat (limited to 'turtleblocks.py')
-rwxr-xr-xturtleblocks.py2
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)