diff options
-rw-r--r-- | fedora_business_cards/export.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fedora_business_cards/export.py b/fedora_business_cards/export.py index c6d8a86..1adf7ba 100644 --- a/fedora_business_cards/export.py +++ b/fedora_business_cards/export.py @@ -41,7 +41,7 @@ def svg_to_pdf_png(xmlstring, filename, format='png', dpi=300): format = either 'png' or 'pdf' dpi = DPI to export PNG with (default: 300) """ - stdin = xmlstring.encode('iso-8859-1') + stdin = xmlstring.encode('utf-8') command = ['inkscape', '-d', str(dpi), '-e', filename, '/dev/stdin'] if format == 'png': sp = subprocess.Popen(' '.join(command), shell=True, |