summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Smith <39445562+smithdc1@users.noreply.github.com>2021-05-12 19:46:01 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-05-12 20:46:31 +0200
commitd6b6eda4ed3193745a8d54bf364e5ecf41b7862e (patch)
tree0c820b0ec20115fc09556799a95d42e3b7987d96
parent4318e60a8025371a6da550eecc798e32d3864f9d (diff)
[3.2.x] Fixed #26721 -- Doc'd setting UTF-8 on Windows.
Backport of 0456d3e42795481a186db05719300691fe2a1029 from main
-rw-r--r--docs/howto/windows.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/howto/windows.txt b/docs/howto/windows.txt
index 5dc1c3ef0d..696d83908a 100644
--- a/docs/howto/windows.txt
+++ b/docs/howto/windows.txt
@@ -125,3 +125,11 @@ Common pitfalls
...\> set http_proxy=http://username:password@proxyserver:proxyport
...\> set https_proxy=https://username:password@proxyserver:proxyport
+
+* In general, Django assumes that ``UTF-8`` encoding is used for I/O. This may
+ cause problems if your system is set to use a different encoding. Recent
+ versions of Python allow setting the :envvar:`PYTHONUTF8` environment
+ variable in order to force a ``UTF-8`` encoding. Windows 10 also provides a
+ system-wide setting by checking ``Use Unicode UTF-8 for worldwide language
+ support`` in :menuselection:`Language --> Administrative Language Settings
+ --> Change system locale` in system settings.