-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://bugs.webkit.org/show_bug.cgi?id=259349 rdar://112507597 Reviewed by Myles C. Maxfield. This implements the new code points exactly as specified in GB180030-2022 instead of Unicode's industry recommendations for migrating data between GB18030-2005 and GB18030-2022. * LayoutTests/imported/w3c/web-platform-tests/encoding/legacy-mb-schinese/gb18030/gb18030-decoder.any.js: * LayoutTests/imported/w3c/web-platform-tests/encoding/legacy-mb-schinese/gb18030/gb18030-encoder.html: * Source/WebCore/PAL/pal/text/TextCodecCJK.cpp: (PAL::gb18030_2022Encode2Byte): (PAL::gb18030_2022Encode4Byte): (PAL::gb18030_2022Decode): (PAL::TextCodecCJK::gb18030Decode): (PAL::gbEncodeShared): (PAL::gb18030AsymmetricEncode): Deleted. Canonical link: https://commits.webkit.org/266173@main
- Loading branch information
1 parent
e281c3d
commit 9fd5c67
Showing
3 changed files
with
95 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters