gh-107583: Update Doc/howto/unicode.rst#109501
Conversation
| EuroPython 2002. The slides are an excellent overview of the design of Python | ||
| 2's Unicode features (where the Unicode string type is called ``unicode`` and | ||
| literals start with ``u``). | ||
| literals start with ``u``). (Notice: Python 2 is no longer supported, just keep it |
There was a problem hiding this comment.
Better: (Note: Python 2 is no longer supported. We just keep this reference for historic reasons.)
|
|
||
| If you don't include such a comment, the default encoding used will be UTF-8 as | ||
| already mentioned. See also :pep:`263` for more information. | ||
| already mentioned. |
There was a problem hiding this comment.
Please keep the reference to PEP 263, since this explains how it all works.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
| they have no significance to Python but are a convention. Python looks for | ||
| ``coding: name`` or ``coding=name`` in the comment. | ||
| Python looks for patterns such like ``coding: latin-1``, ``coding=latin-1`` or | ||
| ``-*- coding: latin-1 -*-`` in the comment. See :ref:`encodings` for detailed |
There was a problem hiding this comment.
| ``-*- coding: latin-1 -*-`` in the comment. See :ref:`encodings` for detailed | |
| ``-*- coding: latin-1 -*-`` in the comment. See :ref:`encodings` for a detailed |
Grammar nit
| literals start with ``u``). (Notice: Python 2 is no longer supported, just keep it | ||
| here for historical interest.) |
There was a problem hiding this comment.
| literals start with ``u``). (Notice: Python 2 is no longer supported, just keep it | |
| here for historical interest.) | |
| literals start with ``u``). (Note: Python 2 is no longer supported. | |
| This reference is preserved for historic reasons.) |
A slightly different suggestion to the above.
|
This PR is stale because it has been open for 30 days with no activity. |
📚 Documentation preview 📚: https://cpython-previews--109501.org.readthedocs.build/