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

Non-ASCII character in language.py #28

Closed
treinio opened this issue Mar 28, 2016 · 1 comment
Closed

Non-ASCII character in language.py #28

treinio opened this issue Mar 28, 2016 · 1 comment

Comments

@treinio
Copy link

treinio commented Mar 28, 2016

Python version: ActivePython 2.7.2.5

fails with error:

"language.py", line 10 SyntaxError: Non-ASCII character '\xc3' in file addic7ed_cli\language.py on line 10, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

Suggested fix: Declare utf-8 encoding for the file:

#!/usr/bin/env python
# -*- coding: utf-8 -*-
@BenoitZugmeyer
Copy link
Owner

Thanks a lot. You must be the only concerned user of python2! Fixed it and added CI, so I'll spot the next issues faster.

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