Skip to content

Commit 3225dde

Browse files
author
Adrian Chang
committed
force utf8
1 parent b0127cf commit 3225dde

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/labelbox/src/labelbox/schema/export_task.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ def _get_file_content(
241241
)
242242
response = requests.get(file_info.file, timeout=30)
243243
response.raise_for_status()
244+
response.encoding = 'utf-8'
244245
assert (
245246
len(response.content)
246247
== file_info.offsets.end - file_info.offsets.start + 1

0 commit comments

Comments
 (0)