Skip to content

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