Skip to content

Commit 2b9a87c

Browse files
committed
Allow creation of pdfs containing unicode characters
1 parent 2c613d6 commit 2b9a87c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdfkit/pdfkit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def _normalize_options(self, options):
204204
for optval in value:
205205
yield (normalized_key, optval)
206206
else:
207-
yield (normalized_key, str(value) if value else value)
207+
yield (normalized_key, unicode(value) if value else value)
208208

209209

210210
def _normalize_arg(self, arg):

0 commit comments

Comments
 (0)