summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2013-10-23 08:04:58 +0000
committerJazzyNico <nicoduf@yahoo.fr>2013-10-23 08:04:58 +0000
commita6ebfad9c261cbf03c1293920998c941c8ec3949 (patch)
tree7129092f4b30d03e0c2472da232cb6bb753a27e7
parentLatvian translation update (diff)
downloadinkscape-a6ebfad9c261cbf03c1293920998c941c8ec3949.tar.gz
inkscape-a6ebfad9c261cbf03c1293920998c941c8ec3949.zip
Fix for Bug #1200399 (xcf export fails if file or layer names contain non-ASCII characters).
Fixed bugs: - https://launchpad.net/bugs/1200399 (bzr r12715)
-rwxr-xr-xshare/extensions/gimp_xcf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/extensions/gimp_xcf.py b/share/extensions/gimp_xcf.py
index ff1589cd8..fe657d999 100755
--- a/share/extensions/gimp_xcf.py
+++ b/share/extensions/gimp_xcf.py
@@ -232,7 +232,7 @@ class MyEffect(inkex.Effect):
f = p.stdin
out = p.stdout
err = p.stderr
- f.write(script_fu)
+ f.write(script_fu.encode('utf-8'))
return_code = p.wait()
if p.returncode != 0: