Skip to content

Commit 02a73db

Browse files
committed
Jinja2 template render should specify the encoding
1 parent 476b3ab commit 02a73db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/cgi/engine_jinja2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def render(self, client, classname, request, **options):
7575
# [ ] limit the information passed to the minimal necessary set
7676
c = context(client, self, classname, request)
7777
c.update({'options': options})
78-
return self._tpl.render(c)
78+
return self._tpl.render(c).encode(client.charset, )
7979

8080
def __getitem__(self, name):
8181
# [ ] figure out what are these for

0 commit comments

Comments
 (0)