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

utf-8 character in file #10

Open
aadis opened this issue Jul 17, 2018 · 1 comment
Open

utf-8 character in file #10

aadis opened this issue Jul 17, 2018 · 1 comment

Comments

@aadis
Copy link

aadis commented Jul 17, 2018

$ python --version
Python 2.7.5
$ yip -h
  File "/home/foo/.virtualenvs/c/bin/yip", line 412
SyntaxError: Non-ASCII character '\xe2' in file /home/foo/.virtualenvs/c/bin/yip on line 412, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

Could you add utf-8 string to the file?

@ossie-git
Copy link

ossie-git commented Sep 8, 2018

As a temporary work-around, change the first two lines in yip to:

!/usr/bin/env python3
# -*- coding: utf-8 -*- 

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