regression/CESU-8 U+1F600

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

About this case

U+1F600 as a CESU-8 surrogate pair; UTF-8 needs F0 9F 98 80.

Source
Focused regression
Input
6 B · raw text
First error
byte 0
Archive
001820_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: ED A0 BD ED B8 80

Around byte 0: ED A0 BD ED B8 80

⟨ED⟩⟨A0⟩⟨BD⟩⟨ED⟩⟨B8⟩⟨80⟩