title: python utf-8 encoding declaration
body: <p>é character belongs to utf-8 as shown in: </p>
  
  <p><a href="https://www.utf8-chartable.de/unicode-utf8-table.pl" rel="nofollow noreferrer">https://www.utf8-chartable.de/unicode-utf8-table.pl</a></p>
  
  <p>As official documentation (<a href="https://www.python.org/dev/peps/pep-0263/" rel="nofollow noreferrer">https://www.python.org/dev/peps/pep-0263/</a>)
   says: </p>
  
  <p>'In Python 2.1, Unicode literals can only be written using the Latin-1 based encoding "unicode-escape"....'</p>
  
  <p>I use Python 2.7.13</p>
  
  <p>so in my code (as told in <a href="https://www.python.org/dev/peps/pep-0263/" rel="nofollow noreferrer">https://www.python.org/dev/peps/pep-0263/</a>), I have tried successively (after #!/usr/bin/python) </p>
  
  <pre><code># coding=utf-8
  
  # -*- coding: utf-8 -*-
  </code></pre>
  
  <p>the last one also appears in the post solution <a href="https://stackoverflow.com/questions/728891/correct-way-to-define-python-source-code-encoding">Correct way to define Python source code encoding</a></p>
  
  <p>but it still does not work: </p>
  
  <pre><code>SyntaxError: Non-ASCII character '\xc3' in file ./&lt;file_name&gt;.py on line 160, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
  </code></pre>
  
  <p>Any ideas folks ?? thanx.</p>