Skip to content

Conversation

@ChALkeR
Copy link
Contributor

@ChALkeR ChALkeR commented Feb 2, 2026

This is based on #308, but implements all encodings, including iso-2022-jp, and uses a released version of @exodus/bytes.

@ChALkeR ChALkeR changed the title Chalker/encoding/0 Add percentEncodeAfterEncoding for all encodings Feb 2, 2026
@ChALkeR ChALkeR marked this pull request as draft February 2, 2026 00:09
@ChALkeR ChALkeR changed the base branch from main to encoding-override February 2, 2026 00:09
@domenic
Copy link
Member

domenic commented Feb 2, 2026

Amazing, thank you! This looks perfect. I notice it is marked as draft; should I delay merging it for a bit?

@domenic
Copy link
Member

domenic commented Feb 2, 2026

Running integration tests with jsdom reveals that we don't pass the tests for ShiftJIS. I'll work to try to create a minimal example and pinpoint the issue...

@ChALkeR
Copy link
Contributor Author

ChALkeR commented Feb 2, 2026

I notice it is marked as draft; should I delay merging it for a bit?

@domenic the base PR is marked as draft )
Otherwise the delta should be good

Running integration tests with jsdom reveals that we don't pass the tests for ShiftJIS. I'll work to try to create a minimal example and pinpoint the issue...

Hm. Thanks!

@domenic
Copy link
Member

domenic commented Feb 2, 2026

Shift_JIS issue was a test bug: web-platform-tests/wpt#57476. I'll merge this all into jsdom now!

@domenic domenic marked this pull request as ready for review February 2, 2026 04:30
@domenic domenic merged commit 7bc4a43 into jsdom:encoding-override Feb 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants