Search code examples
here-api

Here REST API return special characters like "ß", even when the language=en parameter is set


I'm using Here REST API to geocode international addresses, and I'm working on some Germany addresses with a lot of Straße in the spreadsheet.

For example, address like Löderburger Straße 14, 39418 Staßfurt, Deutschland, what I expected is getting Loderburger Strasse 14, 39418 Stassfurt, Germany from the API return. But, the result from Here is Löderburger Straße 14, 39418 Staßfurt, Germany. The country name is converted into english, however, I still get ß when I add the language=en parameter when calling the API. Is there any other ways to get the results in english?


Solution

  • In HERE Map data, the address is coded in local language by default. If the local language is non-latin then there would be a transcription coded. In multi-lingual areas explicit translation are coded for street names as well depending on the languages used in the region. The English translation would be coded for Country / Bigger city names globally but rarely for street names.