sha256 ba15273f57d343ed733e9ce3eb0ccc49e5f41806738523205e29c5eefabaa929
"%YAML 1.2\r\n---\r\n# c1\r\n\"---\": false # c2\r\n# c3\r\n\".̜Ο\": ! [] # c4\r\n# c5\r\n&a1 \"a'b\": >-\r\n \xbf 日本語\r\n" (not UTF-8: shown as a Go string literal)
| grammar | invalid (opaque bytes) |
| encoding/not-utf8 | open from parse on: each parser's stance decides |
| features | none |
| meaning (none stated) | |
go-yaml libfyaml yaml.v3 yamlstar
refuse by the parser
perlref
accept
No source answered.
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted, explained accept | n/i | n/i | bytes-not-utf8: the parser does not check that its input is UTF-8 | |
| libfyaml | rejected, invalid refuse by the parser | not scored | n/i | stdin:9:1: error: block scalar is malformed UTF8 | |
| yamlstar | rejected, invalid refuse by the parser | not scored | n/i | Error: parser input must be UTF-8 | |
| yaml.v3 | rejected, invalid refuse by the parser | not scored | refused | yaml.v3: yaml: invalid leading UTF-8 octet | |
| go-yaml | rejected, invalid refuse by the parser | not scored | refused | [9:2] found a byte that is part of no character |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.