René's URL Explorer Experiment


Title: gh-84508: tool to generate cjk traditional chinese mappings by sorcio · Pull Request #93272 · python/cpython · GitHub

Open Graph Title: gh-84508: tool to generate cjk traditional chinese mappings by sorcio · Pull Request #93272 · python/cpython

X Title: gh-84508: tool to generate cjk traditional chinese mappings by sorcio · Pull Request #93272 · python/cpython

Description: This adds a script to generate the mapping files for Traditional Chinese Big-5-based codecs, as discussed in the issue. I initially planned to add support for later versions of HKSCS, but I decided to keep this minimal so to close gh-84508. The topic of refreshing the mappings is split to its own issue in gh-93271. So this generates mappings_tw.h and mappings_hk.h files identical to the existing versions (with only one new line difference). Notes about the mapping files: I did not include the BIG5.TXT and CP950.TXT files that are available on the Unicode website. It looks like these are available for redistribution, so I can add them to the PR if needed. I also did not include the hkscs-2004-big5-iso.txt file, but that's a different story. The terms of use from the source website include a clause that unilaterally binds to any update to the terms (clause 2), which I believe is incompatible with redistribution as part of CPython.

Open Graph Description: This adds a script to generate the mapping files for Traditional Chinese Big-5-based codecs, as discussed in the issue. I initially planned to add support for later versions of HKSCS, but I decided...

X Description: This adds a script to generate the mapping files for Traditional Chinese Big-5-based codecs, as discussed in the issue. I initially planned to add support for later versions of HKSCS, but I decided...

Opengraph URL: https://github.com/python/cpython/pull/93272

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:eff28093-d35a-9127-761c-a5634c07f802
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9668:27600D:211CB5:2EAA9C:696A0062
html-safe-nonce6f3a44ae8fb2994afe8cbba7129f366949146d298f30cbd88b85e5fa0deaa4cd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjY4OjI3NjAwRDoyMTFDQjU6MkVBQTlDOjY5NkEwMDYyIiwidmlzaXRvcl9pZCI6IjE5MTUzMjgxOTA1Mzk3NTk3MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac11b1eaa00600e55c545e6171874de3a2c0c56c292c285f18bd2a9105b9405e00
hovercard-subject-tagpull_request:948680078
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/93272/files
twitter:imagehttps://avatars.githubusercontent.com/u/1160460?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1160460?s=400&v=4
og:image:altThis adds a script to generate the mapping files for Traditional Chinese Big-5-based codecs, as discussed in the issue. I initially planned to add support for later versions of HKSCS, but I decided...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/93272/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F93272%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F93272%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/93272/files
Reloadhttps://github.com/python/cpython/pull/93272/files
Reloadhttps://github.com/python/cpython/pull/93272/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/93272/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/93272/files
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
corona10https://github.com/corona10
python:mainhttps://github.com/python/cpython/tree/main
sorcio:genmap-tchinesehttps://github.com/sorcio/cpython/tree/genmap-tchinese
Conversation 28 https://github.com/python/cpython/pull/93272
Commits 7 https://github.com/python/cpython/pull/93272/commits
Checks 0 https://github.com/python/cpython/pull/93272/checks
Files changed https://github.com/python/cpython/pull/93272/files
Please reload this pagehttps://github.com/python/cpython/pull/93272/files
gh-84508: tool to generate cjk traditional chinese mappings https://github.com/python/cpython/pull/93272/files#top
Show all changes 7 commits https://github.com/python/cpython/pull/93272/files
1fb94f7 gh-84508: tool to generate cjk traditional chinese mappings sorcio May 26, 2022 https://github.com/python/cpython/pull/93272/commits/1fb94f759f53f863baeff17e3ae22d0f38d2394c
0eae907 strip trailing whitespace sorcio May 26, 2022 https://github.com/python/cpython/pull/93272/commits/0eae90704b1a2bba747a1c1a30e4fd2cbe2da977
9a008bd Apply suggestions from code review sorcio May 28, 2022 https://github.com/python/cpython/pull/93272/commits/9a008bdc9bc3cb6ae745d88af5372802501afb12
bec0692 add unicode mapping files for big5 and cp950 sorcio May 28, 2022 https://github.com/python/cpython/pull/93272/commits/bec06929792ec15e894d07a371940be8545192ab
39d77d9 generate mappings_tw.h and mappings_hk.h sorcio May 28, 2022 https://github.com/python/cpython/pull/93272/commits/39d77d99b6ab37f7de43f70c848dd851817d0e27
5d0ec20 Revert "add unicode mapping files for big5 and cp950" sorcio May 29, 2022 https://github.com/python/cpython/pull/93272/commits/5d0ec2036ff669eca5b786b55e61814a39ccd866
d831eac Use https url for CP950.TXT sorcio May 30, 2022 https://github.com/python/cpython/pull/93272/commits/d831eacd751513e84686579245409112543c4496
Clear filters https://github.com/python/cpython/pull/93272/files
Please reload this pagehttps://github.com/python/cpython/pull/93272/files
Please reload this pagehttps://github.com/python/cpython/pull/93272/files
mappings_hk.h https://github.com/python/cpython/pull/93272/files#diff-3ac35906f50398560ef65b5f689c84b6a4be442baa78e25646b39ec4dbb6281b
mappings_tw.h https://github.com/python/cpython/pull/93272/files#diff-7250ae3aba198d9d4547f9fc402aafe40c66a7cc8e71243b7612e771b692378e
genmap_tchinese.py https://github.com/python/cpython/pull/93272/files#diff-2912e3e79d62c43c443b9ac1b5946b5ff5af7bf62078c458ef40899f588c5f17
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L394
Modules/cjkcodecs/mappings_hk.hhttps://github.com/python/cpython/pull/93272/files#diff-3ac35906f50398560ef65b5f689c84b6a4be442baa78e25646b39ec4dbb6281b
View file https://github.com/sorcio/cpython/blob/d831eacd751513e84686579245409112543c4496/Modules/cjkcodecs/mappings_hk.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/93272/{{ revealButtonHref }}
https://github.com/python/cpython/pull/93272/files#diff-3ac35906f50398560ef65b5f689c84b6a4be442baa78e25646b39ec4dbb6281b
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L394
Modules/cjkcodecs/mappings_tw.hhttps://github.com/python/cpython/pull/93272/files#diff-7250ae3aba198d9d4547f9fc402aafe40c66a7cc8e71243b7612e771b692378e
View file https://github.com/sorcio/cpython/blob/d831eacd751513e84686579245409112543c4496/Modules/cjkcodecs/mappings_tw.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/93272/{{ revealButtonHref }}
https://github.com/python/cpython/pull/93272/files#diff-7250ae3aba198d9d4547f9fc402aafe40c66a7cc8e71243b7612e771b692378e
https://github.com/python/cpython/pull/93272/files#diff-7250ae3aba198d9d4547f9fc402aafe40c66a7cc8e71243b7612e771b692378e
Tools/unicode/genmap_tchinese.pyhttps://github.com/python/cpython/pull/93272/files#diff-2912e3e79d62c43c443b9ac1b5946b5ff5af7bf62078c458ef40899f588c5f17
View file https://github.com/sorcio/cpython/blob/d831eacd751513e84686579245409112543c4496/Tools/unicode/genmap_tchinese.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/93272/{{ revealButtonHref }}
ezio-melottihttps://github.com/ezio-melotti
May 28, 2022https://github.com/python/cpython/pull/93272/files#r884112604
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@hyeshikhttps://github.com/hyeshik
https://bugs.python.org/user1298https://bugs.python.org/user1298
Please reload this pagehttps://github.com/python/cpython/pull/93272/files
sorciohttps://github.com/sorcio
May 28, 2022https://github.com/python/cpython/pull/93272/files#r884115119
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@ezio-melottihttps://github.com/ezio-melotti
https://github.com/BackupTheBerlios/cjkpython/blob/master/cjkcodecs/tools/genmap_tchinese.pyhttps://github.com/BackupTheBerlios/cjkpython/blob/master/cjkcodecs/tools/genmap_tchinese.py
Please reload this pagehttps://github.com/python/cpython/pull/93272/files
sorciohttps://github.com/sorcio
May 28, 2022https://github.com/python/cpython/pull/93272/files#r884115491
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/93272/files
Please reload this pagehttps://github.com/python/cpython/pull/93272/files
Please reload this pagehttps://github.com/python/cpython/pull/93272/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.