Skip to content

gh-102388: Add windows_31j to aliases for cp932 codec - #102389

Merged
methane merged 2 commits into
python:mainfrom
moriyama:fix-issue-102388
Feb 19, 2024
Merged

methane merged 2 commits into
python:mainfrom
moriyama:fix-issue-102388

Conversation

@moriyama

@moriyama moriyama commented Mar 3, 2023 •

Copy link
Copy Markdown
Contributor

The charset name "Windows-31J" is registered in the IANA Charset Registry[1] and is implemented in Python as the cp932 codec.

This commit adds windows_31j to the aliases of cp932.

[1] https://www.iana.org/assignments/charset-reg/windows-31J

@bedevere-bot

Copy link
Copy Markdown

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

@ghost

ghost commented Mar 3, 2023 •

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.
CLA signed

@malemburg malemburg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Perhaps you could fix the many "py:class reference target not found: Codec" errors as part of this PR as well. I'm not really sure what's causing them - not a ResT expert.

Comment thread Doc/library/codecs.rst Resolved
moriyama and others added 2 commits February 19, 2024 12:54
The charset name "Windows-31J" is registered in the IANA Charset Registry[1]
and is implemented in Python as the cp932 codec.

This commit adds windows_31j to the aliases of cp932.

[1] https://www.iana.org/assignments/charset-reg/windows-31J

Signed-off-by: Masayuki Moriyama <masayuki.moriyama@miraclelinux.com>
@methane

methane commented Feb 19, 2024

Copy link
Copy Markdown
Member

Perhaps you could fix the many "py:class reference target not found: Codec" errors as part of this PR as well. I'm not really sure what's causing them - not a ResT expert.

There is no class Codec in the Doc/library/codecs.rst. It should be fixed in other pull request.

@methane
methane merged commit 1476ac2 into python:main Feb 19, 2024
@moriyama

Copy link
Copy Markdown
Contributor Author

Thank you for reviewing and merging.

woodruffw pushed a commit to woodruffw-forks/cpython that referenced this pull request Mar 4, 2024
…02389)

The charset name "Windows-31J" is registered in the IANA Charset Registry[1]
and is implemented in Python as the cp932 codec.

[1] https://www.iana.org/assignments/charset-reg/windows-31J

Signed-off-by: Masayuki Moriyama <masayuki.moriyama@miraclelinux.com>
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
…02389)

The charset name "Windows-31J" is registered in the IANA Charset Registry[1]
and is implemented in Python as the cp932 codec.

[1] https://www.iana.org/assignments/charset-reg/windows-31J

Signed-off-by: Masayuki Moriyama <masayuki.moriyama@miraclelinux.com>
LukasWoodtli pushed a commit to LukasWoodtli/cpython that referenced this pull request Jan 22, 2025
…02389)

The charset name "Windows-31J" is registered in the IANA Charset Registry[1]
and is implemented in Python as the cp932 codec.

[1] https://www.iana.org/assignments/charset-reg/windows-31J

Signed-off-by: Masayuki Moriyama <masayuki.moriyama@miraclelinux.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants