regression/surrogate between text
Expected output false — these bytes are not UTF-8.
About this case
No note for this case.
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: 6F 6B 20 ED BF BF 20 6F 6B
Around byte 3:
6F 6B 20
ED
BF BF 20 6F 6B
ok ⟨ED⟩⟨BF⟩⟨BF⟩ ok