title: Google http://maps.google.com/maps/geo query with non-english characters
body: <p>I'm creating a Python (using <code>urllib2</code>) parser of addresses with non-english characters in it. The goal is to find coordinates of every address.</p>
  
  <p>When I open this url in <strong>Firefox</strong>:</p>
  
  <pre><code>http://maps.google.com/maps/geo?q=Czech%20Republic%2010000%20Male%C5%A1ice&amp;output=csv
  </code></pre>
  
  <p>it is converted (changes in address box) to </p>
  
  <pre><code>http://maps.google.com/maps/geo?q=Czech Republic 10000 Malešice&amp;output=csv
  </code></pre>
  
  <p>and returns</p>
  
  <pre><code>200,6,50.0865113,14.4918052
  </code></pre>
  
  <p>which is a <strong>correct</strong> result.</p>
  
  <p>However, if I open the same url (encoded, with %20 and such) in <strong><code>urllib2</code></strong> (or Opera browser), the result is</p>
  
  <pre><code>200,4,49.7715220,13.2955410
  </code></pre>
  
  <p>which is <strong>incorrect</strong>. How can I open the first url in <code>urllib2</code> to get the "<code>200,6,50.0865113,14.4918052</code>" result?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>Code used</p>
  
  <pre><code>import urllib2
  
  psc = '10000'
  name = 'Malešice'
  url = 'http://maps.google.com/maps/geo?q=%s&amp;output=csv' % urllib2.quote('Czech Republic %s %s' % (psc, name))
  
  response = urllib2.urlopen(url)
  data = response.read()
  
  print 'Parsed url %s, result %s\n' % (url, data)
  </code></pre>
  
  <p>output</p>
  
  <p><code>Parsed url http://maps.google.com/maps/geo?q=Czech%20Republic%2010000%20Male%C5%A1ice&amp;output=csv, result 200,4,49.7715220,13.2955410</code></p>