diff options
Diffstat (limited to 'django')
| -rw-r--r-- | django/views/i18n.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/views/i18n.py b/django/views/i18n.py index 89963e8406..3bd240ea3d 100644 --- a/django/views/i18n.py +++ b/django/views/i18n.py @@ -284,7 +284,7 @@ class JavaScriptCatalog(View): ) if context['catalog'] else None context['formats_str'] = indent(json.dumps(context['formats'], sort_keys=True, indent=2)) - return HttpResponse(template.render(Context(context)), 'text/javascript') + return HttpResponse(template.render(Context(context)), 'text/javascript; charset="utf-8"') class JSONCatalog(JavaScriptCatalog): |
