As mentioned in #321, yamlish now has an option, that allows ignoring wrong UTF characters (see https://gitlab.com/mcepl/yamlish/commit/dba0b0a5b65c57c71c50ce1681f3286869e231bc).
Go through the code (starting with check.py), and make sure that we make use of this option, wherever feasible.
check.py
We stopped using yamlish, closing this.
Metadata Update from @jskladan: - Issue tagged with: easyfix