sha256 cc9dcb1a1caa0ccb0eb088f9e5bcae6c44d1a4de50227f46d8929a2716dd7d99
"%YAML 1.2\n%TAG !e! tag:yaml.org,2002:\n---\n!foo {'o': &m3 !e!omap [{'o0': 0}, {'o1': -2}, {'o2': \x8e}], !e!str 'again': *m3, !e!str 'p': !e!pairs [{'p0': 1}, {'p0': 2}], 's': !e!set {'s0'}} # c1\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:4:55: error: Invalid UTF8 (invalid) in the input stream | |
| 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 | [4:55] found a byte that is part of no character |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.