aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorSimon Law <simon.law@ecometrica.com>2012-08-30 14:12:26 -0400
committerSimon Law <simon.law@ecometrica.com>2012-08-30 14:12:26 -0400
commitef5678ce4ff518b7e3dfbda87563b7ffac6d7816 (patch)
tree3ca8da9b1df4cf30e3b5470aec8d196e8ee03629 /docs
parent0aa9bd310e5d66a76a109174f12885d0629861a3 (diff)
downloaddjango-wkhtmltopdf-ef5678ce4ff518b7e3dfbda87563b7ffac6d7816.tar.gz
django-wkhtmltopdf-ef5678ce4ff518b7e3dfbda87563b7ffac6d7816.tar.bz2
django-wkhtmltopdf-ef5678ce4ff518b7e3dfbda87563b7ffac6d7816.zip
Pass --encoding utf8 to wkhtmltopdf to render Unicode characters to PDF.
Since we PDFTemplateResponse renders templates, and Django uses UTF-8 to do the rendering, we can safely assume that the result is in UTF-8.
Diffstat (limited to 'docs')
-rw-r--r--docs/settings.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/settings.rst b/docs/settings.rst
index 7b5116a..63b1116 100644
--- a/docs/settings.rst
+++ b/docs/settings.rst
@@ -21,7 +21,7 @@ this app will look for the binary using the default OS paths.
WKHTMLTOPDF_CMD_OPTIONS
~~~~~~~~~~~~~~~~~~~~~~~
-Default: ``{'quiet': True}``
+Default: ``{'encoding': 'utf8', 'quiet': True}``
A dictionary of command-line arguments to pass to the ``wkhtmltopdf``
binary.