Igor,
You’re right that the two searches:
q=S%C3%A3o%20Paulo
q=Sao%20Paulo
return the same results (at least in website search; cannot run it through the API as explained above).
However, that doesn’t hold true in general. For instance, the search results for:
-
q=Gazi%20%C3%9Cniversitesi (Gazi Üniversitesi)
q=Gazi%20Universitesi
are completely different. The website search function redirects the second search term to the first and so shows the same results initially, but the REST API does not.
I am running my API calls from the httr R package as GET(<api url>, config(token = <OAuth token>)), as described in https://github.com/hadley/httr/blob/master/demo/oauth1-twitter.r
I thought since I can run all sorts of other API calls without any problems, it would be an API-side bug, but since you were able to run calls with special characters in them, there must be a problem with my setup. Are other users able to run search queries with special characters such as https://api.twitter.com/1.1/users/search.json?q=S%C3%A3o%20Paulo?