Skip to content
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

Load YAML as binary data #2566

Merged
merged 2 commits into from
May 17, 2017
Merged

Load YAML as binary data #2566

merged 2 commits into from
May 17, 2017

Conversation

sampsyo
Copy link
Member

@sampsyo sampsyo commented May 17, 2017

This lets the YAML library itself deal with the encoding (mostly), which should address issues having to do with open giving us a system-specific encoding by default on Python 3 on Windows when the files should have been written using UTF-8 per the YAML standard.

Fixes #2456; fixes #2565.

This lets the YAML library itself deal with the encoding (mostly), which
should address #2456 and #2565, which have to do with `open` giving us a
system-specific encoding by default on Python 3 on Windows when the files
should have been written using UTF-8 per the YAML standard.
@mention-bot
Copy link

@sampsyo, thanks for your PR! By analyzing the history of the files in this pull request, we identified @geigerzaehler, @pkess and @jrobeson to be potential reviewers.

@sampsyo sampsyo merged commit 0148070 into master May 17, 2017
@arcresu arcresu deleted the yaml-encoding branch April 24, 2019 05:03
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.

Beets is haunted, reads info from comment lines? UTF-8 Character Encoding Breaks Somewhere on Windows
2 participants