I am consuming the IBGE API to get municipalities by state. When I print out the municipalities the accents are wrong. What can I do to fix this? Below the code that takes the name of the municipalities.
JSONArray jsonarray = new JSONArray(jsonString);
List municipios = new ArrayList();
for (int i = 0; i < jsonarray.length(); i++) {
JSONObject jsonobject = jsonarray.getJSONObject(i);
municipios.add(jsonobject.getString("nome").);
}