[whatwg/encoding] Support GB18030-2022 (PR #335)

One legacy encoding was updated and relevant regulation requires software to match. As such the Encoding Standard should match as well. This aims to make the minimum number of changes necessary and does not impact GBK, only gb18030.

Updated tests are in https://github.com/WebKit/WebKit/tree/main/LayoutTests/imported/w3c/web-platform-tests/encoding/legacy-mb-schinese/gb18030. If these are deemed satisfactory they will be exported.

<!--
Thank you for contributing to the Encoding Standard! Please describe the change you are making and complete the checklist below if your change is not editorial.
When editing this comment after the PR is created, check that PR-Preview doesn't overwrite your changes.
If you think your PR is ready to land, please double-check that the build is passing and the checklist is complete before pinging.
-->

- [ ] At least two implementers are interested (and none opposed):
   * WebKit
   * …
- [ ] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
   * See above.
- [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
   * Chromium: …
   * Gecko: …
   * WebKit: N/A
   * Deno: …
   * Node.js: …
- [x] [MDN issue](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) is filed: N/A
- [x] The top of this comment includes a [clear commit message](https://github.com/whatwg/meta/blob/main/COMMITTING.md) to use. <!-- If you created this PR from a single commit, Github copied its message. Otherwise, you need to add a commit message yourself. -->

(See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.)


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://whatpr.org/encoding/335.html" title="Last updated on Sep 17, 2024, 9:59 AM UTC (e43cf40)">Preview</a> | <a href="https://whatpr.org/encoding/335/e20f586...e43cf40.html" title="Last updated on Sep 17, 2024, 9:59 AM UTC (e43cf40)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/encoding/pull/335

-- Commit Summary --

  * Support GB18030-2022

-- File Changes --

    M encoding.bs (406)
    A tools-gb18030-2022.py (70)

-- Patch Links --

https://github.com/whatwg/encoding/pull/335.patch
https://github.com/whatwg/encoding/pull/335.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/encoding/pull/335
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/encoding/pull/335@github.com>

Received on Tuesday, 17 September 2024 09:59:31 UTC