FA-3929 / Encodings / Member archive
UTF-16 code units are interpreted as Unicode scalars · case 04
UTF-16 code units are interpreted as Unicode scalars.
Case contract
Decode little-endian UTF-16 code units to text with replacement for unpaired surrogates.
Why this case matters
A local executable model for consumers of structured text; oracle values are authored literals, not outputs copied from the repaired implementation.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| boundary 1 | "??" | "\ud83d\ude00" | 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 ↗