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