title: Urldecode GET parameter in django
body: <p>I have a <code>GET</code> parameter of value <code>Krak%F3w</code>. It should be decoded as Kraków. I tried to <code>urlunquote</code> it, but when I try to print it to the console, I get this:</p>
  
  <pre><code>UnicodeEncodeError at /someurl.html
  
  'charmap' codec can't encode character u'\ufffd' in position 4: character maps to &lt;undefined&gt;
  </code></pre>
  
  <p>And this:</p>
  
  <pre><code>Unicode error hint
  
  The string that could not be encoded/decoded was: Krak�w
  </code></pre>