You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cleverage:process:execute: invalid UTF-8 in the json-stream output file throws a JsonException #455
Since #226, cleverage:process:execute --output-format=json-stream replaces the invalid UTF-8 sequences of the output written to STDOUT. But with --output <file>, the output is written by JsonStreamFile with JSON_THROW_ON_ERROR only: an output with invalid UTF-8 (e.g. a value read from a Latin-1 file) throws a JsonException and the command fails.
The same path writes the JSON buffer of the process_launcher task (json_buffering): the sub-process fails.
Reproduction
A process whose end point outputs ['name' => "Caf\xe9"]:
Activity
#455 - Fix the section of the CHANGELOG entry
Merge pull request #456 from cleverage/455