FA-182 / Protocols / Member archive
A character count truncates a UTF-8 frame · case 02
The declared payload length is smaller than the actual UTF-8 payload for non-ASCII text.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| two-byte code point | "323ac3a9c3a9" | "343ac3a9c3a9" | 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 ↗