Fixed #26721 -- Doc'd setting UTF-8 on Windows.

This commit is contained in:
David Smith 2021-05-12 19:46:01 +01:00 committed by GitHub
parent 29e4ccb1a2
commit 0456d3e427
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -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.