FAILURE MAP
← Case archive

FA-184 / Protocols / Member archive

A character count truncates a UTF-8 frame · case 04

The declared payload length is smaller than the actual UTF-8 payload for non-ASCII text.

Member previewVariant 4 · 3 implementations · 7 checks per implementation

Case contract

Return the hexadecimal representation of an ASCII decimal byte-length prefix, a colon, then the UTF-8 payload. The prefix excludes its own bytes and the colon.

Why this case matters

Length-prefixed protocols operate on bytes. Unicode code points and UTF-16 units match byte counts for some fixtures, making ASCII-only tests insufficient.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
two-byte code point"343ac3a9c3a9c3a9c3a9""383ac3a9c3a9c3a9c3a9"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 ↗