title: Python Polish character encoding issues
body: <p>I'm having some issues with character encoding, and in this special case with Polish characters.</p>
  
  <p>I need to replace all none windows-1252 characters with a windows-1252 equivalent. I had this working until I needed to work with Polish characters. How can I replace these characters?</p>
  
  <p>The <code>é</code> for example is a windows-1252 character and must stay this way. But the <code>ł</code> is not a windows-1252 character and must be replaced with its equivalent (or stripped if it hasn't a equivalent).</p>
  
  <p>I tried this:</p>
  
  <pre><code>import unicodedata
  
  text = "Racławicka Rógé"
  tmp = unicodedata.normalize('NFKD', text).encode('ascii', 'ignore')
  print(tmp.decode("utf-8"))
  </code></pre>
  
  <p>This prints:</p>
  
  <pre><code>Racawicka Roge
  </code></pre>
  
  <p>But now the <code>ó</code> and <code>é</code> are both encoded to <code>o</code> and <code>e</code>.</p>
  
  <p>How can I get this right?</p>