title: Python django escape unicode
body: <p>I want to escape unicode.</p>
  
  <p>My python script contains:</p>
  
  <pre><code>unicode_str = u'\u8fb0'
  </code></pre>
  
  <p>My template file contains:</p>
  
  <pre><code>{{ unicode_str|escape }}
  </code></pre>
  
  <p>It results in a KeyError.</p>
  
  <p>How do I escape unicode characters?</p>
  
  <p>Thanks!</p>