| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1065,8 +1065,15 @@ or with dictionaries as mapping tables. The following table lists the codecs by | |||
| 1065 | 1065 | name, together with a few common aliases, and the languages for which the | |
| 1066 | 1066 | encoding is likely used. Neither the list of aliases nor the list of languages | |
| 1067 | 1067 | is meant to be exhaustive. Notice that spelling alternatives that only differ in | |
| 1068 | - case or use a hyphen instead of an underscore are also valid aliases; therefore, | ||
| 1069 | - e.g. ``'utf-8'`` is a valid alias for the ``'utf_8'`` codec. | ||
| 1068 | + case or use a hyphen instead of an underscore are also valid aliases | ||
| 1069 | + because they are equivalent when normalized by | ||
| 1070 | + :func:`~encodings.normalize_encoding`. For example, ``'utf-8'`` is a valid | ||
| 1071 | + alias for the ``'utf_8'`` codec. | ||
| 1072 | + | ||
| 1073 | + .. note:: | ||
| 1074 | + | ||
| 1075 | + The below table lists the most common aliases, for a complete list | ||
| 1076 | + refer to the source :source:`aliases.py <Lib/encodings/aliases.py>` file. | ||
| 1070 | 1077 | ||
| 1071 | 1078 | On Windows, ``cpXXX`` codecs are available for all code pages. | |
| 1072 | 1079 | But only codecs listed in the following table are guarantead to exist on | |
| Back | FazBrowse Home | New Git URL |
0 commit comments