Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 068d177a29ad44c82c95dd204a27d4841979c301
https://github.com/WebKit/WebKit/commit/068d177a29ad44c82c95dd204a27d4841979c301
Author: Anne van Kesteren <[email protected]>
Date: 2024-09-17 (Tue, 17 Sep 2024)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/encoding/legacy-mb-schinese/gb18030/gb18030-encoder.html
M Source/WebCore/PAL/pal/text/TextCodecCJK.cpp
Log Message:
-----------
Correct GB18030-2022 encode behavior
https://bugs.webkit.org/show_bug.cgi?id=279822
Reviewed by Alex Christensen.
This does two things:
1. It restores asymmetric encode as it was in 265633@main to not emit
two additional leading 0x00 bytes.
2. It removes the four-byte decode table as it duplicates the
information already in gb18030RangesCodePoint(). No need to store
it twice.
*
LayoutTests/imported/w3c/web-platform-tests/encoding/legacy-mb-schinese/gb18030/gb18030-encoder.html:
* Source/WebCore/PAL/pal/text/TextCodecCJK.cpp:
(PAL::gb18030AsymmetricEncode):
(PAL::TextCodecCJK::gb18030Decode):
(PAL::gbEncodeShared):
(PAL::gb180302022Encode): Deleted.
(PAL::gb180302022Decode): Deleted.
Canonical link: https://commits.webkit.org/283826@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes