sha256 523f07a9760e3af908df9c43dd0a1c283fc5719d95873d48603f3c52ff399d29
"---\n!<!foo>\n# c1\nbase: &m1 # c2\n # c3\n b0: -2 # c4\n # c5\n b1: -6 # c6\n # c7\n \xa32: -7 # c8\n# c9\nitem: # c10\n # c11\n <<: !<!foo> # c12\n # c13\n - *m1 # c14\n # c15\n - # c16\n # c17\n c0: 4 # c18\n # c19\n !<tag:yaml.org,2002:str> c1: !<tag:yaml.org,2002:int> -1 # c20\n # c21\n d0: !<tag:yaml.org,2002:int> -8 # c22\n # c23\n d1: 0 # c24\n # c25\n b0: 99 # c26\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:10:3: 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 | [10:3] found a byte that is part of no character |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.