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

@annevk commented on this pull request.



> +    <p>If <a for="gb18030 decoder">is GBK</a> is false and there is a row in the table below whose
+    first column is <a>gb18030 first</a>, second column is <a>gb18030 second</a>, third column is
+    <a>gb18030 third</a>, and fourth column is <var>byte</var>, then set <var>code point</var> to
+    the fifth column on the same row:

Based on test results in Firefox I calculated the first override here and it appears that this is already the existing behavior of gb18030 as written in the standard. As such this table isn't needed. It's not clear to me why the Unicode recommendation calls out these four-byte sequences mapping to code points if that matches existing behavior.

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

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

Received on Tuesday, 17 September 2024 12:47:07 UTC