diff options
-rw-r--r-- | renderer.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/renderer.py b/renderer.py index 82068b7..a24aadd 100644 --- a/renderer.py +++ b/renderer.py @@ -18,6 +18,7 @@ class Renderer: format_exceptions = True) def render (self, tpl, level = "pages", **kwargs): + web.header("Content-Type", "text/html;charset=utf-8") try: t = self.get_tpl(tpl, level) except mako.exceptions.TopLevelLookupException, e: |