generated/1258/substitute a byte/1

sha256 93170f3bb782723583dc8074b3b6bdacb27f4cdfe3f40445462bc98a3caa0d5a

Document

"\ufeff---\r\n!!map\r\no: # c1\r\n  !!omap &m3\r\n  - # c2\r\n    o0: 0 # c3\r\n  - # c4\r\n    o1: 7 # c5\r\n  - #\x88c6\r\n    o2: -1 # c7\r\nagain: *m3 # c8\r\n"
(not UTF-8: shown as a Go string literal)

Corpus

grammarinvalid (opaque bytes)
encoding/bomopen from parse on: each parser's stance decides
encoding/not-utf8open from parse on: each parser's stance decides
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml yaml.v3 yamlstar

refuse by the parser

perlref

accept

value

No source answered.

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
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:6: 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 [9:6] found a byte that is part of no character

Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.