wpt/overlong U+07FF - 5 bytes
Expected output false — these bytes are not UTF-8.
About this case
WPT: TextDecoder with fatal: true must throw (overlong U+07FF - 5 bytes).
- Source
- Web Platform Tests
- Topics
- fatal TextDecoder
- Input
- 5 B · raw text
- First error
- byte 0
- Archive
000093_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: F8 80 80 9F BF
Around byte 0:
F8
80 80 9F BF
⟨F8⟩⟨80⟩⟨80⟩⟨9F⟩⟨BF⟩