title: Python decoding Unicode is not supported
body: <p>I am having a problem with my encoding in Python. I have tried different methods but I can't seem to find the best way to encode my output to UTF-8.</p>
  
  <p>This is what I am trying to do:</p>
  
  <pre><code>result = unicode(google.searchGoogle(param), "utf-8").encode("utf-8")
  </code></pre>
  
  <p><code>searchGoogle</code> returns the first Google result for <code>param</code>.</p>
  
  <p>This is the error I get:</p>
  
  <pre><code>exceptions.TypeError: decoding Unicode is not supported
  </code></pre>
  
  <p>Does anyone know how I can make Python encode my output in UTF-8 to avoid this error?</p>