File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -1061,8 +1061,15 @@ or with dictionaries as mapping tables. The following table lists the codecs by
1061
1061
name, together with a few common aliases, and the languages for which the
1062
1062
encoding is likely used. Neither the list of aliases nor the list of languages
1063
1063
is meant to be exhaustive. Notice that spelling alternatives that only differ in
1064
- case or use a hyphen instead of an underscore are also valid aliases; therefore,
1065
- e.g. ``'utf-8' `` is a valid alias for the ``'utf_8' `` codec.
1064
+ case or use a hyphen instead of an underscore are also valid aliases
1065
+ because they are equivalent when normalized by
1066
+ :func: `~encodings.normalize_encoding `. For example, ``'utf-8' `` is a valid
1067
+ alias for the ``'utf_8' `` codec.
1068
+
1069
+ .. note ::
1070
+
1071
+ The below table lists the most common aliases, for a complete list
1072
+ refer to the source :source: `aliases.py <Lib/encodings/aliases.py> ` file.
1066
1073
1067
1074
.. impl-detail ::
1068
1075
You can’t perform that action at this time.
0 commit comments