Skip to content

logger: fix missing FileHandler encoding #5532

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

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