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

enforce utf-8 encoding when we open data.json #8

Merged
merged 1 commit into from
Dec 26, 2018

Conversation

ronaldseoh
Copy link
Contributor

On my Windows machine, json.load(raw) raises error due to the default encoding chosen by open(). I believe this affects other machines that does not use utf-8 as default. We can get around this problem by enforcing 'utf-8' when we open data.json.

@sdushantha
Copy link
Member

Thank you, its always nice to have Windows users test the code so that we can make it usable on multiple platforms.

@sdushantha sdushantha merged commit 52d1c09 into sherlock-project:master Dec 26, 2018
@svisser svisser mentioned this pull request Dec 30, 2018
hoadlck added a commit that referenced this pull request Dec 30, 2018
…json" (#8) got undone in the previous merge.  Include it again.
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.

None yet

2 participants