title: UnicodeDecodeError: 'utf8' codec can't decode byte
body: <p>When I launch my app, I get this error UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 2566: invalid continuation byte. I use UTF8 in my HTML file</p>
  
  <pre><code>&lt;meta charset="utf-8" /&gt;
  </code></pre>
  
  <p>and in my Python file</p>
  
  <pre><code># -*- coding: utf-8 -*-
  self.response.headers['Content-Type'] = 'text/html; charset=UTF-8'
  </code></pre>
  
  <p>I saw some solutions on the Web using the encode() function but I don't want to insert text in the Python file but in HTML file.</p>