My problem is the following:
- I get from a google search query the following unicode string:
"Playa de Porc%C3%ADa"
. - I need to correctly convert
"Playa de Porc%C3%ADa" into "Playa de Porcía"
to pass that new string to a function that will do another search. - The problem is that the accent
"í"
iscd ad
in Unicode, I have tried to usedecode()
andencode()
in several ways but can't get to the point.
Regards!
Edit: My code is in Python2.