title: UTF-8 percentage encoding and python
body: <p>I'm trying to get python to give me percent encoded strings. The API I'm interacting with (which I think is using percent encoded UTF-8), gives %c3%ae for î. However, python's urllib.quote gives %3F.</p>
  
  <pre><code>import urllib
  
  mystring = "î"
  print urllib.quote(mystring)
  print urllib.quote_plus(mystring)
  print urllib.quote(mystring.encode('utf-8'))
  </code></pre>
  
  <p>Any help appreciated.</p>