title: urllib2.quote does not work properly
body: <p>I'm trying to get html of page which contains diacritics (í,č...). The problem is that <code>urllib2.quote</code> seems to not being work as I expected.</p>
  
  <p>As far as I'm concerned, quote should convert url which contains diacritics to proper url.</p>
  
  <p>Here is an example:</p>
  
  <pre><code>url = 'http://www.example.com/vydavatelství/'
  
  print urllib2.quote(url)
  
  &gt;&gt; http%3A//www.example.com/vydavatelstv%C3%AD/
  </code></pre>
  
  <p>The problem is that it changes <code>http//</code> string for some reason. Then the <code>urllib2.urlopen(req)</code> returns error:</p>
  
  <blockquote>
    <p>response = urllib2.urlopen(req)<br>
      File "C:\Python27\lib\urllib2.py", line 154, in urlopen
            return opener.open(url, data, timeout)
          File "C:\Python27\lib\urllib2.py", line 437, in open
            response = meth(req, response)<br>
          File "C:\Python27\lib\urllib2.py", line 550, in http_response
            'http', request, response, code, msg, hdrs)<br>
          File "C:\Python27\lib\urllib2.py", line 475, in error
            return self._call_chain(*args)<br>
          File "C:\Python27\lib\urllib2.py", line 409, in _call_chain
            result = func(*args)<br>
          File "C:\Python27\lib\urllib2.py", line 558, in http_error_default
            raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)<br>
        urllib2.HTTPError: HTTP Error 400: Bad Request  </p>
  </blockquote>