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, "K%C3%B6ln" for "Köln".

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

An example request for Köln, Germany:

https://geocoder.cit.api.here.com
  /6.2/geocode.xml
  ?app_id={YOUR_APP_ID}
  &app_code={YOUR_APP_CODE}
  &gen=9
  &searchtext=K%C3%B6ln,+Germany

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.cit.api.here.com/6.2/
  geocode.xml" method="GET" accept-charset="UTF-8">
  <!—-  etc. -->
  </form>