meuwebservice/inserirusu/João_da_Silva/fotógrafo
and calling a method to to display shows like this:
Nome: João da Silva
profi: Fotógrafo
Now when I call the following method it shows me like this:
Nome: Jo?o da Silva
profi: Fot?grafo
I put it to display the path that I'm going through 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 submitting and the path is correct on System