@ -378,7 +378,8 @@ class Bureau(object):
# run template with kwargs
templfile = os.path.join(self.mdir, template)
self.log.debug("printing with template: %s", templfile)
templ = Template(filename=templfile, strict_undefined=True)
templ = Template(filename=templfile, input_encoding="utf-8",
strict_undefined=True)
# TODO: make paper size a config variable
pdfpath = tempfile.mkstemp(".pdf")[1]