Re: [whatwg/encoding] Adopt GB18030-2022 (PR #336)

@annevk commented on this pull request.



> @@ -845,7 +845,7 @@ specification, excluding <a>index single-byte</a>, which have their own table:
   <td colspan=3><a href=index-gb18030-ranges.txt>index-gb18030-ranges.txt</a>
   <td>This <a>index</a> works different from all others. Listing all code points would result
   in over a million items whereas they can be represented neatly in 207 ranges combined with trivial
-  limit checks. It therefore only superficially matches the GB18030-2005 standard for code points
+  limit checks. It therefore only superficially matches the GB18030-2022 standard for code points

Oh right. It does match 2005 because for decoding we want the 2005 non-PUA mappings as they are more compatible and for encoding we instead prefer to map to the two-byte mappings using the encoder side table.

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

Message ID: <whatwg/encoding/pull/336/review/2313241182@github.com>

Received on Wednesday, 18 September 2024 16:39:13 UTC