Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoding: GB18030-2022 encode #48239

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions encoding/legacy-mb-schinese/gb18030/gb18030-encoder.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,24 @@
encode("\u9FB9", "%FE~", "GB18030-2022 16");
encode("\u9FBA", "%FE%90", "GB18030-2022 17");
encode("\u9FBB", "%FE%A0", "GB18030-2022 18");
encode("\uE78D", "%00%00%A6%D9", "GB18030-2022 19");
encode("\uE78E", "%00%00%A6%DA", "GB18030-2022 20");
encode("\uE78F", "%00%00%A6%DB", "GB18030-2022 21");
encode("\uE790", "%00%00%A6%DC", "GB18030-2022 22");
encode("\uE791", "%00%00%A6%DD", "GB18030-2022 23");
encode("\uE792", "%00%00%A6%DE", "GB18030-2022 24");
encode("\uE793", "%00%00%A6%DF", "GB18030-2022 25");
encode("\uE794", "%00%00%A6%EC", "GB18030-2022 26");
encode("\uE795", "%00%00%A6%ED", "GB18030-2022 27");
encode("\uE796", "%00%00%A6%F3", "GB18030-2022 28");
encode("\uE81E", "%00%00%FEY", "GB18030-2022 29");
encode("\uE826", "%00%00%FEa", "GB18030-2022 30");
encode("\uE82B", "%00%00%FEf", "GB18030-2022 31");
encode("\uE82C", "%00%00%FEg", "GB18030-2022 32");
encode("\uE832", "%00%00%FEm", "GB18030-2022 33");
encode("\uE843", "%00%00%FE~", "GB18030-2022 34");
encode("\uE854", "%00%00%FE%90", "GB18030-2022 35");
encode("\uE864", "%00%00%FE%A0", "GB18030-2022 36");
encode("\uE78D", "%A6%D9", "GB18030-2022 19");
encode("\uE78E", "%A6%DA", "GB18030-2022 20");
encode("\uE78F", "%A6%DB", "GB18030-2022 21");
encode("\uE790", "%A6%DC", "GB18030-2022 22");
encode("\uE791", "%A6%DD", "GB18030-2022 23");
encode("\uE792", "%A6%DE", "GB18030-2022 24");
encode("\uE793", "%A6%DF", "GB18030-2022 25");
encode("\uE794", "%A6%EC", "GB18030-2022 26");
encode("\uE795", "%A6%ED", "GB18030-2022 27");
encode("\uE796", "%A6%F3", "GB18030-2022 28");
encode("\uE81E", "%FEY", "GB18030-2022 29");
encode("\uE826", "%FEa", "GB18030-2022 30");
encode("\uE82B", "%FEf", "GB18030-2022 31");
encode("\uE82C", "%FEg", "GB18030-2022 32");
encode("\uE832", "%FEm", "GB18030-2022 33");
encode("\uE843", "%FE~", "GB18030-2022 34");
encode("\uE854", "%FE%90", "GB18030-2022 35");
encode("\uE864", "%FE%A0", "GB18030-2022 36");

const upperCaseNibble = x => {
return Math.floor(x).toString(16).toUpperCase();
Expand Down