Skip to content

Umlaut in the default region breaks results (?) #40

Closed
@andreasba

Description

@andreasba

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions