I'm importing a json file in python, but the file is full with accent characters in the city name (from portuguese language) and I need to somehow remove then from this file to further use.
For example, the words 'São Paulo'
, 'Santo André'
and 'Foz do Iguaçu'
should become in the json: Sao Paulo, Santo Andre and Foz do Iguacu.
{ "type": "FeatureCollection", "features": [
{ "type": "Feature", "properties": {"id": "1100015", "name": "São Paulo", "description": "Alta Floresta D'Oeste"}, "geometry": { "type": "Polygon", "coordinates": [-62.1820888570, -11.8668597878] }},
{ "type": "Feature", "properties": {"id": "1100023", "name": "Santo André", "description": "Ariquemes"}, "geometry": { "type": "Polygon", "coordinates": [-62.5359497334, -9.7318235272] }},
{ "type": "Feature", "properties": {"id": "1100031", "name": "Foz do Iguaçu", "description": "Cabixi"}, "geometry": { "type": "Polygon", "coordinates": [-60.3993982597, -13.4558418276] }}
}