We need to avoid decoding errors during the parsing of patches and
commit79c7a0cf3a1dad72c87d5a1e169407aec0f50339
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 3 Oct 2022 17:06:25 +0000 (3 11:06 -0600)
committerJonathan Corbet <corbet@lwn.net>
Mon, 3 Oct 2022 17:06:25 +0000 (3 11:06 -0600)
tree4199bc07297befaa6ea3ae828b0a36522d39c492
parent6cd126cb9f262bd50eca5036ed02cfe9b9583e4d
We need to avoid decoding errors during the parsing of patches and
using "surrogateescape" allow for encoding methods to restore the
byte if need.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
logparser.py