Maarten Derickx added the comment:
Hi Marc-Andre Lemburg,
Thanks for your responses and guidance. At least your pointers to
charmap_encode and charmap_decode helped, since it shows at least what the
general idea is on how to deal with these types of encodings.
In the mean time I did
Maarten Derickx added the comment:
The route via gencodec or more generally via charmap_encode and charmap_decode
seems to be one that is not possible without some low level CPython code
adjustments. The reason for this is that charmap_encode and charmap_decode only
seem to support mappings
Maarten Derickx added the comment:
Hi Marc-Andre Lemburg,
Thanks for your reply. I tried using gencodec.py as could be downloaded from
https://github.com/python/cpython/blob/main/Tools/unicode/gencodec.py as you
mentioned. However the code in gencodec.py seems to be in a much worse shape
Maarten Derickx added the comment:
Is there any way to contact John Helour? I would still very much like to put
this package on github and pypi. And would like to ask him permission for
licensing. Or is there some standard open source license under which all code
uploaded to https