Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

German umlauts may not work due to encoding issues with OSM #47

Closed
janLo opened this issue Oct 30, 2014 · 2 comments
Closed

German umlauts may not work due to encoding issues with OSM #47

janLo opened this issue Oct 30, 2014 · 2 comments

Comments

@janLo
Copy link

janLo commented Oct 30, 2014

We use parts of the geosearch code for placing a marker on a leaflet map. If you use a browser on some windows systems and input a address containing umlauts like "ä" or "ü" then you will get a 400 response from OSM. This can be fixed by encoding the query before passing it to L.Util.getParamString().

We have done this at https://github.com/smeijer/L.GeoSearch/blob/master/src/js/l.geosearch.provider.openstreetmap.js#L22-23

The commit in our project was: eXma/meet-and-eat-registration-system@2067b0a

@valioDOTch
Copy link

+1

@smeijer
Copy link
Owner

smeijer commented Mar 23, 2016

Time seem to have fixed this issue. L.Util.getParamString does the encoding now.

@smeijer smeijer closed this as completed Mar 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants