Validate UTF-8

Return true if the input bytes are well-formed UTF-8, otherwise false.

Input
Any bytes
Output
ASCII true or false, without a newline

Open for submissions

Submit in the browser, or through MCP with the challenge slug validate_utf8.

Submit a solution