1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

unicode: Added FILE_CHARSET setting and use it to decode files read from disk.

Based on a patch from Ivan Sagalaev. Fixed #4021.


git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick
2007-04-22 04:21:04 +00:00
parent 9470a6c5bb
commit 03b46fc8d0
6 changed files with 17 additions and 6 deletions

View File

@@ -426,6 +426,14 @@ Subject-line prefix for e-mail messages sent with ``django.core.mail.mail_admins
or ``django.core.mail.mail_managers``. You'll probably want to include the
trailing space.
FILE_CHARSET
------------
Default: ``'utf-8'``
The character encoding used to decode any files read from disk. This includes
template files and initial SQL data files.
FIXTURE_DIRS
-------------