geocoder-php/GeocoderLaravel

Umlaut in the default region breaks results (?)

Closed this issue · 2 comments

For

    $geocode = \Toin0u\Geocoder\Facade\Geocoder::geocode('Obere Donaustrasse 22, Wien, Österreich');
    // The GoogleMapsProvider will return a result
    var_dump($geocode);

The configuration

'Geocoder\Provider\GoogleMapsProvider' => ['de-DE', null, true, 'myAPIKey'],

will return a result. For the configuration

'Geocoder\Provider\GoogleMapsProvider' => ['de-DE', 'Wien', true, 'myAPIKey'],

too. But for

'Geocoder\Provider\GoogleMapsProvider' => ['de-DE', 'Wien, Österreich', true, 'myAPIKey'],

it will fail:

ChainNoResultException in ChainProvider.php line 63: No provider could provide the address "Obere Donaustrasse 22, Wien, Österreich"

I gues it is the umlaut (Ö?)

Thanks
Andreas

I have not been able to reproduce this on the new version that is forthcoming. Please keep us posted after the next release if it is still an issue.

Closing for now, no response. Please re-open if this is still an issue.