Skip to content

Conversation

@bastimeyer
Copy link
Member

  • Always set encoding of logging.FileHandler to utf-8
  • Update and add tests

Fixes #5531

@bastimeyer bastimeyer added bug logging os: Windows Related to Microsoft Windows labels Sep 3, 2023
- Always set encoding of `logging.FileHandler` to `utf-8`
- Update and add tests
@bastimeyer bastimeyer force-pushed the logger/fix-filehandler-encoding branch from 6f681d5 to 62eaf6f Compare September 3, 2023 20:23
@bastimeyer bastimeyer merged commit edff1dc into streamlink:master Sep 3, 2023
@bastimeyer bastimeyer deleted the logger/fix-filehandler-encoding branch September 3, 2023 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug logging os: Windows Related to Microsoft Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UnicodeEncodeError: 'charmap' codec can't encode characters

1 participant