Skip to content

Commit 3efa80d

Browse files
committed
bpo-36778: cp65001 encoding becomes an alias to utf_8 (pythonGH-13230)
1 parent d3c6461 commit 3efa80d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Doc/library/codecs.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,6 +1006,8 @@ particular, the following variants typically exist:
10061006
+-----------------+--------------------------------+--------------------------------+
10071007
| cp1258 | windows-1258 | Vietnamese |
10081008
+-----------------+--------------------------------+--------------------------------+
1009+
| cp65001 | | Alias to ``utf_8`` encoding |
1010+
+-----------------+--------------------------------+--------------------------------+
10091011
| euc_jp | eucjp, ujis, u-jis | Japanese |
10101012
+-----------------+--------------------------------+--------------------------------+
10111013
| euc_jis_2004 | jisx0213, eucjis2004 | Japanese |

Lib/encodings/aliases.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,7 @@
516516
'utf8' : 'utf_8',
517517
'utf8_ucs2' : 'utf_8',
518518
'utf8_ucs4' : 'utf_8',
519+
'cp65001' : 'utf_8',
519520

520521
# uu_codec codec
521522
'uu' : 'uu_codec',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy