title: How do I display a copyleft symbol?
body: <p>I use Google AppEngine, Python 2.7 and Jinja2 template. 
  I tried this one <a href="https://en.wikipedia.org/wiki/Copyleft#Symbol" rel="nofollow">https://en.wikipedia.org/wiki/Copyleft#Symbol</a> from Wikipedia. As html it prints fine on my browser. But when I insert it in a jinja2 template and try testing it in my GoogleAppEngine app, it gives a 500 Server Error. Here is the screen shot of the stack trace that I got on the log console:</p>
  
  <pre><code>ERROR    2013-10-27 18:06:45,460 mycs253app.py:245] []
  
  ERROR    2013-10-27 18:06:45,648 webapp2.py:1528] 'utf8' codec can't decode byte 0xa9 in position 1290: invalid start byte
  
  Traceback (most recent call last):
  
    File "C:\Program Files (x86)\Google\google_appengine\lib\webapp2-2.3\webapp2.py", line 1511, in __call__
  
      rv = self.handle_exception(request, response, e)
  
    File "C:\Program Files (x86)\Google\google_appengine\lib\webapp2-2.3\webapp2.py", line 1505, in __call__
  
      rv = self.router.dispatch(request, response)
  
    File "C:\Program Files (x86)\Google\google_appengine\lib\webapp2-2.3\webapp2.py", line 1253, in default_dispatcher
  
      return route.handler_adapter(request, response)
  
    File "C:\Program Files (x86)\Google\google_appengine\lib\webapp2-2.3\webapp2.py", line 1077, in __call__
  
      return handler.dispatch()
  
    File "C:\Program Files (x86)\Google\google_appengine\lib\webapp2-2.3\webapp2.py", line 547, in dispatch
  
      return self.handle_exception(e, self.app.debug)
  
    File "C:\Program Files (x86)\Google\google_appengine\lib\webapp2-2.3\webapp2.py", line 545, in dispatch
  
      return method(*args, **kwargs)
  
    File "C:\Users\duck\Documents\GitHub\mycs253app\mycs253app.py", line 294, in get
  
      self.render_front_page(page_no)
  
    File "C:\Users\duck\Documents\GitHub\mycs253app\mycs253app.py", line 289, in render_front_page
  
      self.response.out.write(template.render(page))
  
    File "C:\Program Files (x86)\Google\google_appengine\lib\jinja2-2.6\jinja2\environment.py", line 894, in render
  
      return self.environment.handle_exception(exc_info, True)
  
    File "C:\Users\duck\Documents\GitHub\mycs253app\templates\main.html", line 1, in top-level template code
  
      {% extends "base.html" %}
  
  UnicodeDecodeError: 'utf8' codec can't decode byte 0xa9 in position 1290: invalid start byte
  
  ERROR    2013-10-27 18:06:45,677 wsgi.py:278] 
  
  Traceback (most recent call last):
  
    File "C:\Program Files (x86)\Google\google_appengine\google\appengine\runtime\wsgi.py", line 266, in Handle
  
      result = handler(dict(self._environ), self._StartResponse)
  
    File "C:\Program Files (x86)\Google\google_appengine\lib\webapp2-2.3\webapp2.py", line 1519, in __call__
  
      response = self._internal_error(e)
  
    File "C:\Program Files (x86)\Google\google_appengine\lib\webapp2-2.3\webapp2.py", line 1511, in __call__
  
      rv = self.handle_exception(request, response, e)
  
    File "C:\Program Files (x86)\Google\google_appengine\lib\webapp2-2.3\webapp2.py", line 1505, in __call__
  
      rv = self.router.dispatch(request, response)
  
    File "C:\Program Files (x86)\Google\google_appengine\lib\webapp2-2.3\webapp2.py", line 1253, in default_dispatcher
  
      return route.handler_adapter(request, response)
  
    File "C:\Program Files (x86)\Google\google_appengine\lib\webapp2-2.3\webapp2.py", line 1077, in __call__
  
      return handler.dispatch()
  
    File "C:\Program Files (x86)\Google\google_appengine\lib\webapp2-2.3\webapp2.py", line 547, in dispatch
  
      return self.handle_exception(e, self.app.debug)
  
    File "C:\Program Files (x86)\Google\google_appengine\lib\webapp2-2.3\webapp2.py", line 545, in dispatch
  
      return method(*args, **kwargs)
  
    File "C:\Users\duck\Documents\GitHub\mycs253app\mycs253app.py", line 294, in get
  
      self.render_front_page(page_no)
  
    File "C:\Users\duck\Documents\GitHub\mycs253app\mycs253app.py", line 289, in render_front_page
  
      self.response.out.write(template.render(page))
  
    File "C:\Program Files (x86)\Google\google_appengine\lib\jinja2-2.6\jinja2\environment.py", line 894, in render
  
      return self.environment.handle_exception(exc_info, True)
  
    File "C:\Users\duck\Documents\GitHub\mycs253app\templates\main.html", line 1, in top-level template code
  
      {% extends "base.html" %}
  
  UnicodeDecodeError: 'utf8' codec can't decode byte 0xa9 in position 1290: invalid start byte
  
  INFO     2013-10-27 23:36:45,926 module.py:608] default: "GET / HTTP/1.1" 500 -
  </code></pre>
  
  <p>here's the template that causes the error (the copyleft is at the end):</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  
    &lt;link type="text/css" rel="stylesheet" href="/css/main.css" /&gt;
  
    &lt;title&gt;My Blog&lt;/title&gt;
  
  &lt;/head&gt;
  
  &lt;body&gt;
  
    &lt;a href="/" class="main-title"&gt;
      My Blog
    &lt;/a&gt;
  
    &lt;div class="login-area"&gt;
      {% if user %}
        &lt;a class="login-link" href="/newpost" &gt;newpost&lt;/a&gt;
        {{user.username}} (&lt;a class="login-link" href="/logout"&gt;logout&lt;/a&gt;)
      {% else %}
        &lt;a class="login-link" href="/login"&gt;login&lt;/a&gt;
        |
        &lt;a class="login-link" href="/signup"&gt;signup&lt;/a&gt;
      {% endif %}
    &lt;/div&gt;
  
    &lt;div id="content"&gt;
    {% block content %}
    {% endblock %}
    &lt;/div&gt;
  
  
  &lt;!--Copyleft--&gt;
  
  &lt;div style = "color: #333; font-size: 14px" &gt;
  
  &lt;!--[if lte IE 8]&gt;&lt;span style="filter: FlipH; -ms-filter: "FlipH"; display: inline-block;"&gt;&lt;![endif]--&gt;
  &lt;span style="-moz-transform: scaleX(-1); -o-transform: scaleX(-1); -webkit-transform: scaleX(-1); transform: scaleX(-1); display: inline-block;"&gt;
      ©
  &lt;/span&gt;
  &lt;!--[if lte IE 8]&gt;&lt;/span&gt;&lt;![endif]--&gt;
  
  Chintan Pokhrel
  
  &lt;/div&gt;
  
  
  
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>Also, it gives a ?(question mark) symbol when I try to print ɔ (U+0254), but no error.</p>