Issue 22682: Add support of KZ1048 (RK1048) encoding (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/66872

classification

Title: Add support of KZ1048 (RK1048) encoding
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.5

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: serhiy.storchaka Nosy List: amaury.forgeotdarc, lemburg, loewis, python-dev, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2014-10-20 20:21 by serhiy.storchaka, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
encoding_kz1048.patch serhiy.storchaka,2014-10-20 20:26
Messages (9)
msg229741 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2014-10-20 20:21
KZ1048 is Kazakh encoding based on CP1251 (Windows Cyrillic codepage). It is standardized by Unicode [1] and IANA [2]. It is also known as STRK1048-2002 (by the name of original Kazakh standard) and RK1048 (used in glibc). It is default encoding of Kazakh locale kk_KZ in glibc. Proposed patch adds support for this encoding. [1] ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MISC/KZ1048.TXT [2] https://www.iana.org/assignments/charset-reg/KZ-1048
msg230266 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2014-10-30 12:42
Looks good to me. I checked that there are only 16 differences between cp1251 and kz1048, and that the two standards define the same mapping.
msg242963 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-05-12 11:20
Ping.
msg242977 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2015-05-12 15:10
Please go ahead! Or do you expect someone else to review the patch?
msg242986 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-05-12 18:48
It would be nice if somebody of the encoding package maintainers (Martin, Marc-Andre) will approve (or reject) the patch.
msg242989 - (view) Author: Marc-Andre Lemburg (lemburg) * (Python committer) Date: 2015-05-12 18:55
Looks good. Thanks, Serhiy.
msg243007 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-05-12 20:24
New changeset 6e1fe5bfba48 by Serhiy Storchaka in branch 'default': Issue #22682: Added support for the kz1048 encoding. https://hg.python.org/cpython/rev/6e1fe5bfba48
msg243009 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-05-12 20:28
Thank you for your reviews Amaury and Marc-Andre.
msg243019 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-05-12 21:35
New changeset def3bab79c8f by Serhiy Storchaka in branch 'default': Added forgotten new files for issues #22681 and #22682. https://hg.python.org/cpython/rev/def3bab79c8f
History
Date User Action Args
2022-04-11 14:58:09 admin set github: 66872
2015-05-12 21:35:20 python-dev set messages: +
2015-05-12 20:28:05 serhiy.storchaka set status: open -> closedmessages: + assignee: serhiy.storchakaresolution: fixedstage: patch review -> resolved
2015-05-12 20:24:40 python-dev set nosy: + python-devmessages: +
2015-05-12 18:55:10 lemburg set messages: +
2015-05-12 18:48:00 serhiy.storchaka set messages: +
2015-05-12 15:10:35 amaury.forgeotdarc set messages: +
2015-05-12 11:20:24 serhiy.storchaka set messages: +
2014-10-30 12:42:22 amaury.forgeotdarc set nosy: + amaury.forgeotdarcmessages: +
2014-10-20 20:26:42 serhiy.storchaka link issue22679 dependencies
2014-10-20 20:26:37 serhiy.storchaka set files: + encoding_kz1048.patchkeywords: + patch
2014-10-20 20:21:16 serhiy.storchaka create