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

Always use utf-8 when opening file handles #602

Closed
wants to merge 1 commit into from

Conversation

fendor
Copy link
Collaborator

@fendor fendor commented Nov 16, 2020

Inspired by a recent blog post https://www.snoyman.com/blog/2020/10/haskell-bad-parts-1, I started using with-utf8 everywhere to avoid encoding bugs in the future.

Since #601 looks like such an encoding bug, I thought, maybe this can be fixed with with-utf8, too.

@fendor
Copy link
Collaborator Author

fendor commented Nov 17, 2020

I was educated that this is a bad idea, so closing now as it won't fix the problem and probably open a can of worms.

@fendor fendor closed this Nov 17, 2020
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