Skip to content

Commit 7558980

Browse files
GH-131358: Add encoding alias cseuckr for euc_kr (#131370)
* Add encoding alias cseuckr for euc_kr * Update Misc/NEWS.d/next/Library/2025-03-17-21-35-53.gh-issue-131358.YVZ6yo.rst Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> --------- Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent 74b8751 commit 7558980

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Lib/encodings/aliases.py

+1
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@
241241
'ks_c_5601_1987' : 'euc_kr',
242242
'ksx1001' : 'euc_kr',
243243
'ks_x_1001' : 'euc_kr',
244+
'cseuckr' : 'euc_kr',
244245

245246
# gb18030 codec
246247
'gb18030_2000' : 'gb18030',
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Register ``cseuckr`` as an encoding alias for ``euc_kr``.

0 commit comments

Comments
 (0)