Skip to content

Commit

Permalink
bpo-36778: cp65001 encoding becomes an alias to utf_8 (pythonGH-13230)
Browse files Browse the repository at this point in the history
  • Loading branch information
icanhasmath committed Aug 9, 2024
1 parent d3c6461 commit 3efa80d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Doc/library/codecs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1006,6 +1006,8 @@ particular, the following variants typically exist:
+-----------------+--------------------------------+--------------------------------+
| cp1258 | windows-1258 | Vietnamese |
+-----------------+--------------------------------+--------------------------------+
| cp65001 | | Alias to ``utf_8`` encoding |
+-----------------+--------------------------------+--------------------------------+
| euc_jp | eucjp, ujis, u-jis | Japanese |
+-----------------+--------------------------------+--------------------------------+
| euc_jis_2004 | jisx0213, eucjis2004 | Japanese |
Expand Down
1 change: 1 addition & 0 deletions Lib/encodings/aliases.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@
'utf8' : 'utf_8',
'utf8_ucs2' : 'utf_8',
'utf8_ucs4' : 'utf_8',
'cp65001' : 'utf_8',

# uu_codec codec
'uu' : 'uu_codec',
Expand Down

0 comments on commit 3efa80d

Please sign in to comment.