mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #1602: Windows console doesn't input or print Unicode (PEP 528)
Closes #17602: Adds a readline implementation for the Windows console
This commit is contained in:
parent
b957b0c2bc
commit
3929499914
16 changed files with 1739 additions and 21 deletions
|
@ -559,6 +559,10 @@ conflict.
|
|||
.. versionchanged:: 3.4
|
||||
The ``encodingname`` part is now optional.
|
||||
|
||||
.. versionchanged:: 3.6
|
||||
On Windows, the encoding specified by this variable is ignored for interactive
|
||||
console buffers unless :envvar:`PYTHONLEGACYWINDOWSIOENCODING` is also specified.
|
||||
Files and pipes redirected through the standard streams are not affected.
|
||||
|
||||
.. envvar:: PYTHONNOUSERSITE
|
||||
|
||||
|
@ -686,6 +690,19 @@ conflict.
|
|||
.. versionadded:: 3.6
|
||||
See :pep:`529` for more details.
|
||||
|
||||
.. envvar:: PYTHONLEGACYWINDOWSIOENCODING
|
||||
|
||||
If set to a non-empty string, does not use the new console reader and
|
||||
writer. This means that Unicode characters will be encoded according to
|
||||
the active console code page, rather than using utf-8.
|
||||
|
||||
This variable is ignored if the standard streams are redirected (to files
|
||||
or pipes) rather than referring to console buffers.
|
||||
|
||||
Availability: Windows
|
||||
|
||||
.. versionadded:: 3.6
|
||||
|
||||
Debug-mode variables
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue