Skip to content

Commit 93ebc67

Browse files
committed
fix response encoding
1 parent 9f5010f commit 93ebc67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

overpass/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ def _GetFromOverpass(self, query):
104104
raise ServerLoadError(self._timeout)
105105
raise UnknownOverpassError("The request returned status code {code}".format(code = self._status))
106106
else:
107+
r.encoding = 'utf-8'
107108
return r.text
108109

109110
def _asGeoJSON(self, elements):

0 commit comments

Comments
 (0)