diff options
| author | David Smith <39445562+smithdc1@users.noreply.github.com> | 2021-05-12 19:46:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-12 20:46:01 +0200 |
| commit | 0456d3e42795481a186db05719300691fe2a1029 (patch) | |
| tree | 208df5acd865b1eea02b859a317816ec7a01ea8d /docs | |
| parent | 29e4ccb1a2d5aab21fbd7effcd48d33dc73f9b1e (diff) | |
Fixed #26721 -- Doc'd setting UTF-8 on Windows.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/howto/windows.txt | 8 |
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. |
