From Dimitri Kaparis to ~mil/mepo-devel
Submitting query to Nominatim with non-latin characters fails and no results are displayed. Using the data-urlencode option of curl encodes the query properly. --- scripts/mepo_ui_menu_reposition_nominatim.sh | 2 +- scripts/mepo_ui_menu_search_nominatim.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mepo_ui_menu_reposition_nominatim.sh b/scripts/mepo_ui_menu_reposition_nominatim.sh index e854dc8..dcb455f 100755 --- a/scripts/mepo_ui_menu_reposition_nominatim.sh +++ b/scripts/mepo_ui_menu_reposition_nominatim.sh @@ -37,7 +37,7 @@ main() { echo "$QUERY" | grep -q . || err "Blank search query" [message trimmed]