This issue is already fixed for YAML. Correct escaping or writing string as binary data should be provided for JSON and XML also. The dump with invalid UTF-8 strings is data/lenovo/thinkpad-t14-g3-21aj.bin. See OEM-specific structures there:
- handle: 0x0035
type: 133
length: 74
level: ! '0.0'
description: OEM-specific
data: !!binary |-
hSw1APm0lXhNkgpBljkSOGKyimMAA1ACBAEAAwAAAAEAAABhclcYAwAAAAA=
strings:
- !!binary |-
hSz+//m0lXhNkgpBljkSOGKyimM=
- ! "\x03P\x02\x04\x01"
- ! "\x04"
This issue is already fixed for YAML. Correct escaping or writing string as binary data should be provided for JSON and XML also. The dump with invalid UTF-8 strings is
data/lenovo/thinkpad-t14-g3-21aj.bin. See OEM-specific structures there: