Skip to content

fix decode of stderr lines#56

Open
chadawagner wants to merge 1 commit intojonghwanhyeon:mainfrom
chadawagner:cw/decode-errors
Open

fix decode of stderr lines#56
chadawagner wants to merge 1 commit intojonghwanhyeon:mainfrom
chadawagner:cw/decode-errors

Conversation

@chadawagner
Copy link
Copy Markdown

@chadawagner chadawagner commented May 30, 2024

Encountered a case where non-utf8 ID3 tags in normal stderr output will cause exceptions in an otherwise successful process. Telling decode() to ignore or replace errors fixes the issue. This PR uses "backslashreplace" as the codec error handler, rather than the default which is "strict".

Opened #57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant