fix encoding

This commit is contained in:
Ilya (Marshal) 2023-09-15 22:57:06 +02:00
parent c41c11dae0
commit 17d6d0e538
No known key found for this signature in database
GPG key ID: F8FB1A006AD3156D

View file

@ -246,6 +246,7 @@ class SourceMapExtractor(object):
return self._get_remote_data(result.url)
if result.status_code == 200:
result.encoding = 'utf-8'
return result.text, result.url
else:
print("WARNING: Got status code %d for URI %s" % (result.status_code, result.url))