X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=plugins%2Ftemplate_mako.py;h=4c397eb05e736a5474c1fc840a3d4f331079116a;hb=eeb875a9c1303e6052c0f5857409d96a57426531;hp=b8a4db69b81dad462b898f80973352de3d1c3ed6;hpb=5b24964cda642526f6331573980b2cd6f254780b;p=oss-web.git 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)