This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients John Helour, koffie, lemburg, loewis, mdk, serhiy.storchaka, vstinner, xiang.zhang
Date 2021-06-29.14:41:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624977713.12.0.989939666094.issue24339@roundup.psfhosted.org>
In-reply-to
Content
Right, the charmap codec was built with the Unicode Consortium mappings in mind.

However, you may have some luck decoding the two byte chars in ISO 6937 using combining code points in Unicode. With some extra post processing you could also normalize the output into single code points.

If I find time, I may have a look at gencodec.py again and update it to more modern interfaces. I've long given up maintenance of Unicode in Python and only try to help by giving some guidance based on the original implementation design.
History
Date User Action Args
2021-06-29 14:41:53lemburgsetrecipients: + lemburg, loewis, vstinner, serhiy.storchaka, xiang.zhang, John Helour, mdk, koffie
2021-06-29 14:41:53lemburgsetmessageid: <1624977713.12.0.989939666094.issue24339@roundup.psfhosted.org>
2021-06-29 14:41:53lemburglinkissue24339 messages
2021-06-29 14:41:52lemburgcreate