meuwebservice/inserirusu/João_da_Silva/fotógrafo
and calling a method to display it so:
Nome: João da Silva
profi: Fotógrafo
Now when I call the following method it shows me this way:
Nome: Jo?o da Silva
profi: Fot?grafo
I've placed to display the path I'm going through on Android and it's the same one that I put for Chrome.
private void inserir(final String edicao) { edicao = "João_da_Silva/fotógrafo
showProgressDialog();
StringRequest strReq = new StringRequest(Request.Method.GET,
Const.URL_EDITAR_TRABALHADOR+edicao, new Response.Listener<String>() {
@Override
public void onResponse(String response) {
Log.d(TAG, response.toString());
if(response.equal("Alterado"){
hideProgressDialog();
finish();
}
}
}, new Response.ErrorListener() {
@Override
public void onErrorResponse(VolleyError error) {
VolleyLog.d(TAG, "Error: " + error.getMessage());
hideProgressDialog();
}
});
// Adding request to request queue
AppController.getInstance().addToRequestQueue(strReq, tag_string_req);
}
How can I resolve this?
I was making error to display in logcat and it showed me that this is the android
meuwebservice/inserirusu/Jo?o_da_Silva/fot?grafo
plus I displayed before sending and the path is correct in System