bpo-32963: Fix the tutorial to state source has a default encoding of… · python/cpython@20003f9 (original) (raw)

Original file line number Diff line number Diff line change
@@ -126,14 +126,7 @@ The Interpreter and Its Environment
126 126 Source Code Encoding
127 127 --------------------
128 128
129 -By default, Python source files are treated as encoded in UTF-8. In that
130 -encoding, characters of most languages in the world can be used simultaneously
131 -in string literals, identifiers and comments --- although the standard library
132 -only uses ASCII characters for identifiers, a convention that any portable code
133 -should follow. To display all these characters properly, your editor must
134 -recognize that the file is UTF-8, and it must use a font that supports all the
135 -characters in the file.
136 -
129 +By default, Python source files are treated as encoded in ASCII.
137 130 To declare an encoding other than the default one, a special comment line
138 131 should be added as the *first* line of the file. The syntax is as follows::
139 132