I would like to save this file with this URL "http://pti.regione.sicilia.it/portal/page/portal/PIR_PORTALE/PIR_LaStrutturaRegionale/PIR_AssessoratoEconomia/PIR_DipBilancioTesoro/PIR_Areetematiche/PIR_ServizioStatistica/PIR_1839271.4501140784/PIR_idatidellaSicilia/spesa%20del%20settore%20sanit%E0.csv" using its source name, but saving it applying decoding to URL Encoded Characters it has.
The name we have in the URL is
spesa%20del%20settore%20sanit%E0.csv, I would like to programmatically convert it in
spesa del settore sanità.csv. In the source name we have
%20 that is a space and
%E0 that is
How to do this name conversion?
I could create a search and replace list starting from this table but I imagine there is an utility, a library that could do it for me. However I do not find a proper way to do it using simply wget or curl.