yip icon indicating copy to clipboard operation
yip copied to clipboard

utf-8 character in file

Open aadis opened this issue 7 years ago • 1 comments
trafficstars

$ 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?

aadis avatar Jul 17 '18 11:07 aadis

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

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

ossie-git avatar Sep 08 '18 02:09 ossie-git