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

datasets.py SyntaxError: Non-ASCII character '\xe2' in file #66

Open
josephdviviano opened this issue Sep 29, 2021 · 1 comment
Open

Comments

@josephdviviano
Copy link
Collaborator

Looks like we have some weird dashes - showing up in the code that fails on some platforms.

@ieee8023
Copy link
Member

ieee8023 commented Sep 29, 2021

I had made this edit to the top of datasets.py but I think I didn't check it in because I didn't know if it was the best solution:

#!/usr/bin/python
# -*- coding: utf-8 -*-

It is probably better to encode those characters and then decode them for maximum compatibility?

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

No branches or pull requests

2 participants