diff options
| author | Stephen Silver <sasilver@yahoo.com> | 2008-07-10 09:06:47 +0000 |
|---|---|---|
| committer | sasilver <sasilver@users.sourceforge.net> | 2008-07-10 09:06:47 +0000 |
| commit | 0f5235da910a75b88e5e6fb364f1c41c41dc9561 (patch) | |
| tree | 1b5ce4041797e249930ebab83ead7b6f6186efb0 /share | |
| parent | prevent assert crashes on bad data in cal1 or cal2 (diff) | |
| download | inkscape-0f5235da910a75b88e5e6fb364f1c41c41dc9561.tar.gz inkscape-0f5235da910a75b88e5e6fb364f1c41c41dc9561.zip | |
Allow inkex.errormsg() to handle non-ASCII characters. Fixes bug 246931.
(bzr r6252)
Diffstat (limited to 'share')
| -rwxr-xr-x | share/extensions/inkex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/extensions/inkex.py b/share/extensions/inkex.py index 96dc7b7ae..01488880b 100755 --- a/share/extensions/inkex.py +++ b/share/extensions/inkex.py @@ -78,7 +78,7 @@ def errormsg(msg): ... inkex.errormsg(_("This extension requires two selected paths.")) """ - sys.stderr.write(str(msg) + "\n") + sys.stderr.write((msg + "\n").encode("UTF-8")) def check_inkbool(option, opt, value): if str(value).capitalize() == 'True': |
