Skip to content

Update export_task.py #1991

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

Abinash23
Copy link

Description

Update the code to explicitly use UTF-8 encoding when reading from or writing to a file. This is necessary because the exported data from LabelBox contains Chinese/Japanese characters, and without proper encoding, it results in a UnicodeEncodeError.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • [ Update the code to explicitly use UTF-8 encoding when reading from or writing to a file. This is necessary because the exported data from LabelBox contains Chinese/Japanese characters, and without proper encoding, it results in a UnicodeEncodeError.] Bug fix (non-breaking change which fixes an issue)

All Submissions

  • [Yes ] Have you followed the guidelines in our Contributing document?
  • [Yes] Have you provided a description?
  • [Yes] Are your changes properly formatted?

Changes to Core Features

  • Have you written new tests for your core changes, as applicable?
  • Have you successfully run tests with your changes locally?
  • Have you updated any code comments, as applicable?

Update the code to explicitly use UTF-8 encoding when reading from or writing to a file. This is necessary because the exported data from LabelBox contains Chinese/Japanese characters, and without proper encoding, it results in a UnicodeEncodeError.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant