diff --git a/pep-0008.txt b/pep-0008.txt index 1b6ca55be..1c5df7070 100644 --- a/pep-0008.txt +++ b/pep-0008.txt @@ -244,14 +244,15 @@ you may use them to separate pages of related sections of your file. Note, some editors and web-based code viewers may not recognize control-L as a form feed and will show another glyph in its place. -Encodings (PEP 263) -------------------- + +Source File Encoding +-------------------- Code in the core Python distribution should always use UTF-8 (or ASCII in Python 2). -Files using ASCII (in Python 2) or UTF-8 (in Python 3) should not have a -coding cookie. +Files using ASCII (in Python 2) or UTF-8 (in Python 3) should not have +an encoding declaration. In the standard library, non-default encodings should be used only for test purposes or when a comment or docstring needs to mention an author