regression/overlong U+0041 in 4 bytes

Expected output false — these bytes are not UTF-8.

About this case

U+0041 needs 1 byte(s); F0 80 81 81 is overlong.

Source
Focused regression
Topics
overlong
Input
4 B · raw text
First error
byte 0
Archive
001814_must_render_exactly/input

Input

Invisible characters are shown as symbols, such as ␀ for NUL and ␉ for tab. Bytes that aren’t part of well-formed UTF-8 are shown in hex, such as ⟨C0⟩.

Bytes: F0 80 81 81

Around byte 0: F0 80 81 81

⟨F0⟩⟨80⟩⟨81⟩⟨81⟩