FAILURE MAP
← Case archive

FA-189 / Encodings / Member archive

A network chunk boundary corrupts a Unicode character · case 04

A valid character split across chunks becomes replacement characters or vanishes.

Member previewVariant 4 · 3 implementations · 7 checks per implementation

Case contract

Decode a list of byte chunks as one strict UTF-8 stream. Return the decoded string, or None for malformed or incomplete input. Empty chunks have no semantic effect.

Why this case matters

HTTP, socket and stream-reader chunk boundaries are independent of character boundaries. Finalization matters even when every earlier chunk was accepted.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
two-byte sequence split"xxxx\ufffd\ufffd""xxxx\u00e9"Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗