set mako default mako output to be utf-8

This commit is contained in:
Mark McClain
2011-03-29 13:16:14 -04:00
parent faa56752fb
commit 65ab18246d

View File

@@ -61,7 +61,7 @@ try:
class MakoRenderer(object):
def __init__(self, path, extra_vars):
self.loader = TemplateLookup(directories=[path])
self.loader = TemplateLookup(directories=[path], output_encoding='utf-8')
self.extra_vars = extra_vars
def render(self, template_path, namespace):