Commit 79779e18 authored by Michal Čihař's avatar Michal Čihař

Fix unicode handling in rst

Issue #798
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 6677c9f2
......@@ -76,12 +76,12 @@ def get_credits(request, project, subproject):
name, translators = language.items()[0]
result.append(u'* {0}\n'.format(name))
result.append('\n'.join(
[' * {1} <{0}>'.format(*t) for t in translators]
[u' * {1} <{0}>'.format(*t) for t in translators]
))
result.append('')
return HttpResponse(
'\n'.join(result),
content_type='text/plain',
content_type='text/plain; charset=utf-8',
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment