Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoding alias csEUCKR not supported #131358

Closed
sebbASF opened this issue Mar 17, 2025 · 1 comment
Closed

Encoding alias csEUCKR not supported #131358

sebbASF opened this issue Mar 17, 2025 · 1 comment
Labels
stdlib Python modules in the Lib dir topic-unicode type-feature A feature request or enhancement

Comments

@sebbASF
Copy link

sebbASF commented Mar 17, 2025

Bug report

Bug description:

The encoding 'csEUCKR' has been spotted in emails, and has been supported by Java since at least version 8 [1]

It would be good if this could be added to the list of encoding aliases as an alias for euc_kr

[1] https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html

CPython versions tested on:

3.13

Operating systems tested on:

Linux

Linked PRs

@sebbASF sebbASF added the type-bug An unexpected behavior, bug, or error label Mar 17, 2025
@StanFromIreland
Copy link
Contributor

# euc_kr codec
'euckr' : 'euc_kr',
'korean' : 'euc_kr',
'ksc5601' : 'euc_kr',
'ks_c_5601' : 'euc_kr',
'ks_c_5601_1987' : 'euc_kr',
'ksx1001' : 'euc_kr',
'ks_x_1001' : 'euc_kr',

You can open a PR adding it.

srinivasreddy added a commit to srinivasreddy/cpython that referenced this issue Mar 17, 2025
srinivasreddy added a commit to srinivasreddy/cpython that referenced this issue Mar 17, 2025
@picnixz picnixz added type-feature A feature request or enhancement stdlib Python modules in the Lib dir topic-unicode and removed type-bug An unexpected behavior, bug, or error labels Mar 17, 2025
corona10 pushed a commit that referenced this issue Mar 19, 2025
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir topic-unicode type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

4 participants