Swedish characters in google geocode request

2019-08-03 05:46发布

问题:

I´m trying to use google geocoding api but I can´t get it work with the Swedish letters 'å ä ö'. I send the question as this https://maps.googleapis.com/maps/api/geocode/xml?address=götagatan 24 &components=country:SE&sensor=false
Don´t work. If I use a address without the Swedish charachter it works fine. https://maps.googleapis.com/maps/api/geocode/xml?address=nygatan 22 &components=country:SE&sensor=false

How can I in the request Point out that it´s a Swedish charachter?