i need to get Longitude and Latitude from city name.
i search and test a lot of source code , but non of them helped me.
till i found this link :http://maps.googleapis.com/maps/api/geocode/json?address=تهران&sensor=false
so i try to get json from this URL
i try this source code
but output just shows “ZERO_RESULTS”
as you can see in first link i use a persian word : "تهران". If i use "tehran" instead of "تهران" output is correct.
here is my question: how can i use persian word in URL ?
UPDATE:
even i try to decode the address , but it does not help me! :(