CartoDB/dataservices-api

Fix encoding issue on Mapbox geocoding

Closed this issue · 0 comments

When performing Mapbox geocoding requests we are receiving an error UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 25: ordinal not in range(128).

It seems to be related to https://github.com/mapbox/mapbox-sdk-py/blob/master/mapbox/services/geocoding.py#L55 and Python encoding/decoding