[issue24339] iso6937 encoding missing

Marc-Andre Lemburg report at bugs.python.org
Tue Jun 29 10:41:53 EDT 2021


Marc-Andre Lemburg <mal at egenix.com> added the comment:

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.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue24339>
_______________________________________


More information about the Python-bugs-list mailing list