This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 111
Improper URL encoding in geocoding queries #110
Comments
@ingalls can you give me some more context about where they're seeing the error. Specifically, are they using the python sdk directly or through the Using the python SDK gives be similar results to the bites
But using the CLI, I get an error
|
@perrygeo They are using the CLI |
OK, I'm moving the issue over to mapbox-cli-py. Hopefully a fix and new release soon. |
The issue is ultimately solved here in the SDK: We need to explicitly encode strings as utf-8 to construct proper URLs. Why encode here rather than the CLI? Unicode Sandwich |
@ingalls versions 0.3 (CLI) and 0.7 (SDK) are up on PyPI now. Customer needs to |
👍 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
A customer is having problems with queries such as
Florianópolis, Brazil
not returning relevant results.The query works as expected here: https://www.mapbox.com/bites/00121/
@sgillies @perrygeo Do you mind taking a look at how unicode is being escaped?
The text was updated successfully, but these errors were encountered: