Geocoder API Developer's Guide

Request Encoding

All query parameters in requests against Geocoder API resources require encoding in UTF-8. To represent special characters, use the %FF hexadecimal representation.

For example, use searchtext 'K%C3%B6ln' to query for city 'Köln'.

White spaces can be replaced by the + sign or %20. In this guide, we use + for simplicity.

https://geocoder.ls.hereapi.com
/6.2/geocode.xml
?apiKey={YOUR_API_KEY}
&gen=9
&searchtext=K%C3%B6ln,+Germany
Note: This example uses a HERE API Key to authenticate your request. For the available authentication options, see the Identity & Access Management Developer Guide.

When using HTML forms to submit queries to the service, use the accept-charset attribute to specify UTF-8 encoding instead of relying on the browser settings for parameter encoding:

<form action="https://geocoder.ls.hereapi.com/6.2/
geocode.xml" method="GET" accept-charset="UTF-8">
<!—-  etc. -->
</form>