From eeb875a9c1303e6052c0f5857409d96a57426531 Mon Sep 17 00:00:00 2001 From: Holger Schurig Date: Thu, 25 Jun 2009 23:46:02 +0200 Subject: [PATCH] template_mako: apply cfg.input_encoding on templates as well This finally allows templates to contain Umlaut characters. --- plugins/template_mako.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/template_mako.py b/plugins/template_mako.py index b8a4db6..4c397eb 100644 --- a/plugins/template_mako.py +++ b/plugins/template_mako.py @@ -29,6 +29,7 @@ def get_template(file): else: lookup = TemplateLookup( directories = (extra_dir, file.style_dir), + input_encoding = file.input_encoding, output_encoding = file.output_encoding, encoding_errors='replace', filesystem_checks = False) -- 2.39.2