summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorNick Frazier <nrf@nickfrazier.com>2021-10-05 08:42:45 -0400
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-10-08 15:50:00 +0200
commitfe97f8bb6259634f8c490b8204d8b5594d414855 (patch)
tree187a44d8e25f22ee555cdd4ac4a7a6f01e321fa4 /docs/ref
parentf2a59630f48f0daac46be62e234942dcdc1f366a (diff)
[4.0.x] Improved docs regarding UTF-8 support with Apache and mod_wsgi.
Backport of bf4be3711acfbfc765fb17dc238b1b9bbad5b7be from main
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/unicode.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/unicode.txt b/docs/ref/unicode.txt
index 209cd68060..d35476ada7 100644
--- a/docs/ref/unicode.txt
+++ b/docs/ref/unicode.txt
@@ -291,8 +291,8 @@ Files
If you intend to allow users to upload files, you must ensure that the
environment used to run Django is configured to work with non-ASCII file names.
If your environment isn't configured correctly, you'll encounter
-``UnicodeEncodeError`` exceptions when saving files with file names that
-contain non-ASCII characters.
+``UnicodeEncodeError`` exceptions when saving files with file names or content
+that contains non-ASCII characters.
Filesystem support for UTF-8 file names varies and might depend on the
environment. Check your current configuration in an interactive Python shell by
@@ -306,7 +306,7 @@ This should output "UTF-8".
The ``LANG`` environment variable is responsible for setting the expected
encoding on Unix platforms. Consult the documentation for your operating system
and application server for the appropriate syntax and location to set this
-variable.
+variable. See the :doc:`/howto/deployment/wsgi/modwsgi` for examples.
In your development environment, you might need to add a setting to your
``~.bashrc`` analogous to:::