regression/overlong U+0080 in 3 bytes
Expected output false — these bytes are not UTF-8.
About this case
U+0080 needs 2 byte(s); E0 82 80 is overlong.
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: E0 82 80
Around byte 0:
E0
82 80
⟨E0⟩⟨82⟩⟨80⟩