Repository navigation
Add tools for generating mappings_XX.h #84508
Description
Activity
AFAIK, there are no tools for generating mappings_XX.h under Modules/cjkcodecs.
It would cause a maintainable issue,
fortunately, I got the old source from https://github.com/BackupTheBerlios/cjkpython.
And I success to port into Python3 version and successfully reproduce to generating header file except for mappings_hk.h mappings_tw.h.The patch will include a generator and Unicode mapping file.
I am not the codec expert but hopefully it will help us.Would you close this issue?
Would you close this issue?
mappings_hk.h mappings_tw.h are still left :)
Hey @corona10, I happened upon this for other reasons. I found that Python's big5hkscs codec does not support the same character set that modern web browsers support.
There has been at least one version of HKSCS (2008) that updated the Big5-encoded character set, and one more recent version (2016) which only added characters to Unicode (with no Big5 mapping), but might adjust some of the existing mappings. I still need to understand if this might break compatibility.
Is it okay if I look into this and try to make a PR later? I've already done something for mappings_hk but need to look into the compatibility, so it might take a second.
Reacted by Donghee Na@sorcio Oh thanks, PR will be welcomed :)
- added a commit that references this issue
on May 26, 2022 - added3.12only security fixesonly security fixesand removed3.9 (EOL)end of lifeend of life
on May 29, 2022 - added a commit that references this issue
on Jun 26, 2022
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields: