summaryrefslogtreecommitdiff
path: root/django/template/backends/django.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/template/backends/django.py')
-rw-r--r--django/template/backends/django.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/template/backends/django.py b/django/template/backends/django.py
index 91bfbcf0bb..80d11d3cdd 100644
--- a/django/template/backends/django.py
+++ b/django/template/backends/django.py
@@ -20,7 +20,7 @@ class DjangoTemplates(BaseEngine):
options = params.pop('OPTIONS').copy()
options.setdefault('autoescape', True)
options.setdefault('debug', settings.DEBUG)
- options.setdefault('file_charset', settings.FILE_CHARSET)
+ options.setdefault('file_charset', 'utf-8')
libraries = options.get('libraries', {})
options['libraries'] = self.get_templatetag_libraries(libraries)
super().__init__(params)