Scope
- Remove the stale Zig
TextEncoder__encodeInto16 fallback that writes U+FFFD when the first valid astral scalar needs four bytes but the destination has only three. - Sync the pinned upstream TextEncoder corpus and prove its expanded scalar-boundary coverage.
- Stop rewriting upstream Deno/Web
test.ignore / ignore: true declarations or altering surrogate fixtures in the native corpus runner. - Preserve upstream pass/skip accounting in both strict and routed execution.
Acceptance criteria
TextEncoder.encodeInto("😀", Uint8Array(3)) returns { read: 0, written: 0 } without mutating the destination.- Invalid lone surrogates still encode as U+FFFD when three bytes are available.
- The selected upstream Deno/Web fixtures run unchanged and match pinned Bun accounting.
- Debug and ReleaseSafe native runs pass with zero failures and zero unsupported tests.
Sign in to comment on this issue.