Example with javascript
var name = "Pedro Canche";
var newname = name.replace("%20", " ");
departure: Pedro Canche
but when it is like this:
var name = "Pedro Misael Canche Angulo";
var newname = name.replace("%20", " ");
exit: Pedro Misael% Canche% 20Angulo
I hope help, thank you.