I have a simple script that scrapes Google for a link and then scrapes that link. However, some links contain dashes in them, and for some reason it comes out like this %25E2%2580%2593
in my script (in the url). So it would now look like this: http://myaddress.com/search?q=The_%25E2%2580%2593_World
when I want it to look like this http://myaddress.com/search?q=The_–_World
. How can I go about doing this? Should I be using UTF-8 encoding/decoding?
Edit:
I tried double unquoting (with reference to this link) but to no avail. Instead I get a result that looks like this: http://myaddress.com/search?q=The_–_World
.