title: Python - Unicode
body: <p>The execution of a simple script is not going as thought.</p>
  
  <pre><code>notAllowed = {"â":"a", "à":"a", "é":"e", "è":"e", "ê":"e",
                "î":"i", "ô":"o", "ç":"c", "û":"u"}
  
  word = "dôzerté"
  print word
  
  for char in word:
      if char in notAllowed.keys():
          print "hooray"
          word = word.replace(char, notAllowed[char])
  
  
  print word
  print "finished"
  </code></pre>
  
  <p>The output return the word unchanged, even though it should have changed "ô" and "é" to o and e, thus returning dozerte...</p>
  
  <p>Any ideas?</p>