title: How to remove from Python Dictionary Non ASCII characters and replacing with spaces
body: <p>I have dictionary </p>
  
  <pre><code>a = {'age': '12\xa0', 'name': 'pks\xa0\xa0'}
  </code></pre>
  
  <p>I wanted to remove all Non ASCII characters and replace with spaces.</p>
  
  <p>For Removing Non ASCII character in non-dict we are using </p>
  
  <pre><code>''.join([i if 32 &lt; ord(i) &lt; 126 else " " for i in a])
  </code></pre>
  
  <p>But how to use for dictionary.
  Any help would be appreciated.</p>